initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
path: z.string(),
|
||||
isActive: z.boolean().optional(),
|
||||
createdAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
export const BackupDestinationCreateManyUserInputObjectSchema: z.ZodType<Prisma.BackupDestinationCreateManyUserInput> = makeSchema() as unknown as z.ZodType<Prisma.BackupDestinationCreateManyUserInput>;
|
||||
export const BackupDestinationCreateManyUserInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user