17 lines
2.2 KiB
TypeScript
17 lines
2.2 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
|
|
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema';
|
|
import { AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema as AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateOrConnectWithoutAppointmentInput.schema';
|
|
import { AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema as AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema } from './AppointmentFileCreateManyAppointmentInputEnvelope.schema';
|
|
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(),
|
|
connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(),
|
|
createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(),
|
|
connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional()
|
|
}).strict();
|
|
export const AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileCreateNestedManyWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateNestedManyWithoutAppointmentInput>;
|
|
export const AppointmentFileCreateNestedManyWithoutAppointmentInputObjectZodSchema = makeSchema();
|