initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StaffCreateWithoutAppointmentsInputObjectSchema as StaffCreateWithoutAppointmentsInputObjectSchema } from './StaffCreateWithoutAppointmentsInput.schema';
|
||||
import { StaffUncheckedCreateWithoutAppointmentsInputObjectSchema as StaffUncheckedCreateWithoutAppointmentsInputObjectSchema } from './StaffUncheckedCreateWithoutAppointmentsInput.schema';
|
||||
import { StaffCreateOrConnectWithoutAppointmentsInputObjectSchema as StaffCreateOrConnectWithoutAppointmentsInputObjectSchema } from './StaffCreateOrConnectWithoutAppointmentsInput.schema';
|
||||
import { StaffWhereUniqueInputObjectSchema as StaffWhereUniqueInputObjectSchema } from './StaffWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => StaffCreateWithoutAppointmentsInputObjectSchema), z.lazy(() => StaffUncheckedCreateWithoutAppointmentsInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => StaffCreateOrConnectWithoutAppointmentsInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => StaffWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const StaffCreateNestedOneWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.StaffCreateNestedOneWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.StaffCreateNestedOneWithoutAppointmentsInput>;
|
||||
export const StaffCreateNestedOneWithoutAppointmentsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user