initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentWhereInputObjectSchema as AppointmentWhereInputObjectSchema } from './AppointmentWhereInput.schema';
|
||||
import { AppointmentUpdateWithoutProceduresInputObjectSchema as AppointmentUpdateWithoutProceduresInputObjectSchema } from './AppointmentUpdateWithoutProceduresInput.schema';
|
||||
import { AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema as AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema } from './AppointmentUncheckedUpdateWithoutProceduresInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => AppointmentWhereInputObjectSchema).optional(),
|
||||
data: z.union([z.lazy(() => AppointmentUpdateWithoutProceduresInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema)])
|
||||
}).strict();
|
||||
export const AppointmentUpdateToOneWithWhereWithoutProceduresInputObjectSchema: z.ZodType<Prisma.AppointmentUpdateToOneWithWhereWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUpdateToOneWithWhereWithoutProceduresInput>;
|
||||
export const AppointmentUpdateToOneWithWhereWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user