initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema';
|
||||
import { AppointmentUpdateWithoutUserInputObjectSchema as AppointmentUpdateWithoutUserInputObjectSchema } from './AppointmentUpdateWithoutUserInput.schema';
|
||||
import { AppointmentUncheckedUpdateWithoutUserInputObjectSchema as AppointmentUncheckedUpdateWithoutUserInputObjectSchema } from './AppointmentUncheckedUpdateWithoutUserInput.schema';
|
||||
import { AppointmentCreateWithoutUserInputObjectSchema as AppointmentCreateWithoutUserInputObjectSchema } from './AppointmentCreateWithoutUserInput.schema';
|
||||
import { AppointmentUncheckedCreateWithoutUserInputObjectSchema as AppointmentUncheckedCreateWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema),
|
||||
update: z.union([z.lazy(() => AppointmentUpdateWithoutUserInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutUserInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => AppointmentCreateWithoutUserInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutUserInputObjectSchema)])
|
||||
}).strict();
|
||||
export const AppointmentUpsertWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.AppointmentUpsertWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUpsertWithWhereUniqueWithoutUserInput>;
|
||||
export const AppointmentUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user