diff --git a/lib/schemas.ts b/lib/schemas.ts index cd6c6d1..ac57784 100644 --- a/lib/schemas.ts +++ b/lib/schemas.ts @@ -89,3 +89,9 @@ export const TestTableShema = z.object({ test: z.string(), }).strict(); export type TestTable = z.infer; + +export const SettingSchema = z.object({ + id: z.string(), + value: z.string().or(z.boolean().or(z.number())) +}) +export type SettingsTable = z.infer \ No newline at end of file