11 lines
529 B
TypeScript
11 lines
529 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.number().int().optional(),
|
|
createdAt: z.coerce.date().optional()
|
|
}).strict();
|
|
export const DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.DatabaseBackupUncheckedCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.DatabaseBackupUncheckedCreateWithoutUserInput>;
|
|
export const DatabaseBackupUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema();
|