feat: database management - auto/USB backup toggles, folder browser, cron jobs
This commit is contained in:
@@ -5,7 +5,9 @@ import type { Prisma } from '../../../generated/prisma';
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
username: z.string(),
|
||||
password: z.string()
|
||||
password: z.string(),
|
||||
autoBackupEnabled: z.boolean().optional(),
|
||||
usbBackupEnabled: z.boolean().optional()
|
||||
}).strict();
|
||||
export const UserCreateManyInputObjectSchema: z.ZodType<Prisma.UserCreateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateManyInput>;
|
||||
export const UserCreateManyInputObjectZodSchema = makeSchema();
|
||||
|
||||
Reference in New Issue
Block a user