initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentCreateWithoutStaffInputObjectSchema as AppointmentCreateWithoutStaffInputObjectSchema } from './AppointmentCreateWithoutStaffInput.schema';
|
||||
import { AppointmentUncheckedCreateWithoutStaffInputObjectSchema as AppointmentUncheckedCreateWithoutStaffInputObjectSchema } from './AppointmentUncheckedCreateWithoutStaffInput.schema';
|
||||
import { AppointmentCreateOrConnectWithoutStaffInputObjectSchema as AppointmentCreateOrConnectWithoutStaffInputObjectSchema } from './AppointmentCreateOrConnectWithoutStaffInput.schema';
|
||||
import { AppointmentCreateManyStaffInputEnvelopeObjectSchema as AppointmentCreateManyStaffInputEnvelopeObjectSchema } from './AppointmentCreateManyStaffInputEnvelope.schema';
|
||||
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentCreateWithoutStaffInputObjectSchema), z.lazy(() => AppointmentCreateWithoutStaffInputObjectSchema).array(), z.lazy(() => AppointmentUncheckedCreateWithoutStaffInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutStaffInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => AppointmentCreateOrConnectWithoutStaffInputObjectSchema), z.lazy(() => AppointmentCreateOrConnectWithoutStaffInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => AppointmentCreateManyStaffInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => AppointmentWhereUniqueInputObjectSchema), z.lazy(() => AppointmentWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateNestedManyWithoutStaffInputObjectSchema: z.ZodType<Prisma.AppointmentCreateNestedManyWithoutStaffInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateNestedManyWithoutStaffInput>;
|
||||
export const AppointmentCreateNestedManyWithoutStaffInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user