initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserUpdateWithoutInsuranceCredentialsInputObjectSchema as UserUpdateWithoutInsuranceCredentialsInputObjectSchema } from './UserUpdateWithoutInsuranceCredentialsInput.schema';
|
||||
import { UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema as UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema } from './UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema';
|
||||
import { UserCreateWithoutInsuranceCredentialsInputObjectSchema as UserCreateWithoutInsuranceCredentialsInputObjectSchema } from './UserCreateWithoutInsuranceCredentialsInput.schema';
|
||||
import { UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema as UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema } from './UserUncheckedCreateWithoutInsuranceCredentialsInput.schema';
|
||||
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => UserUpdateWithoutInsuranceCredentialsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => UserCreateWithoutInsuranceCredentialsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema)]),
|
||||
where: z.lazy(() => UserWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUpsertWithoutInsuranceCredentialsInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutInsuranceCredentialsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutInsuranceCredentialsInput>;
|
||||
export const UserUpsertWithoutInsuranceCredentialsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user