Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/AppointmentUncheckedCreateNestedManyWithoutStaffInput.schema.ts
2026-04-04 22:13:55 -04:00

17 lines
2.0 KiB
TypeScript

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 AppointmentUncheckedCreateNestedManyWithoutStaffInputObjectSchema: z.ZodType<Prisma.AppointmentUncheckedCreateNestedManyWithoutStaffInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUncheckedCreateNestedManyWithoutStaffInput>;
export const AppointmentUncheckedCreateNestedManyWithoutStaffInputObjectZodSchema = makeSchema();