initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StaffCreateWithoutClaimsInputObjectSchema as StaffCreateWithoutClaimsInputObjectSchema } from './StaffCreateWithoutClaimsInput.schema';
|
||||
import { StaffUncheckedCreateWithoutClaimsInputObjectSchema as StaffUncheckedCreateWithoutClaimsInputObjectSchema } from './StaffUncheckedCreateWithoutClaimsInput.schema';
|
||||
import { StaffCreateOrConnectWithoutClaimsInputObjectSchema as StaffCreateOrConnectWithoutClaimsInputObjectSchema } from './StaffCreateOrConnectWithoutClaimsInput.schema';
|
||||
import { StaffWhereUniqueInputObjectSchema as StaffWhereUniqueInputObjectSchema } from './StaffWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => StaffCreateWithoutClaimsInputObjectSchema), z.lazy(() => StaffUncheckedCreateWithoutClaimsInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => StaffCreateOrConnectWithoutClaimsInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => StaffWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const StaffCreateNestedOneWithoutClaimsInputObjectSchema: z.ZodType<Prisma.StaffCreateNestedOneWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.StaffCreateNestedOneWithoutClaimsInput>;
|
||||
export const StaffCreateNestedOneWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user