initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StaffWhereUniqueInputObjectSchema as StaffWhereUniqueInputObjectSchema } from './StaffWhereUniqueInput.schema';
|
||||
import { StaffUpdateWithoutUserInputObjectSchema as StaffUpdateWithoutUserInputObjectSchema } from './StaffUpdateWithoutUserInput.schema';
|
||||
import { StaffUncheckedUpdateWithoutUserInputObjectSchema as StaffUncheckedUpdateWithoutUserInputObjectSchema } from './StaffUncheckedUpdateWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => StaffWhereUniqueInputObjectSchema),
|
||||
data: z.union([z.lazy(() => StaffUpdateWithoutUserInputObjectSchema), z.lazy(() => StaffUncheckedUpdateWithoutUserInputObjectSchema)])
|
||||
}).strict();
|
||||
export const StaffUpdateWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.StaffUpdateWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.StaffUpdateWithWhereUniqueWithoutUserInput>;
|
||||
export const StaffUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user