initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentCreateWithoutProceduresInputObjectSchema as AppointmentCreateWithoutProceduresInputObjectSchema } from './AppointmentCreateWithoutProceduresInput.schema';
|
||||
import { AppointmentUncheckedCreateWithoutProceduresInputObjectSchema as AppointmentUncheckedCreateWithoutProceduresInputObjectSchema } from './AppointmentUncheckedCreateWithoutProceduresInput.schema';
|
||||
import { AppointmentCreateOrConnectWithoutProceduresInputObjectSchema as AppointmentCreateOrConnectWithoutProceduresInputObjectSchema } from './AppointmentCreateOrConnectWithoutProceduresInput.schema';
|
||||
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentCreateWithoutProceduresInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutProceduresInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => AppointmentCreateOrConnectWithoutProceduresInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => AppointmentWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateNestedOneWithoutProceduresInputObjectSchema: z.ZodType<Prisma.AppointmentCreateNestedOneWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateNestedOneWithoutProceduresInput>;
|
||||
export const AppointmentCreateNestedOneWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user