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