initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentCreateWithoutClaimsInputObjectSchema as AppointmentCreateWithoutClaimsInputObjectSchema } from './AppointmentCreateWithoutClaimsInput.schema';
|
||||
import { AppointmentUncheckedCreateWithoutClaimsInputObjectSchema as AppointmentUncheckedCreateWithoutClaimsInputObjectSchema } from './AppointmentUncheckedCreateWithoutClaimsInput.schema';
|
||||
import { AppointmentCreateOrConnectWithoutClaimsInputObjectSchema as AppointmentCreateOrConnectWithoutClaimsInputObjectSchema } from './AppointmentCreateOrConnectWithoutClaimsInput.schema';
|
||||
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentCreateWithoutClaimsInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutClaimsInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => AppointmentCreateOrConnectWithoutClaimsInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => AppointmentWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateNestedOneWithoutClaimsInputObjectSchema: z.ZodType<Prisma.AppointmentCreateNestedOneWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateNestedOneWithoutClaimsInput>;
|
||||
export const AppointmentCreateNestedOneWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user