initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema';
|
||||
import { ServiceLineUpdateWithoutPaymentInputObjectSchema as ServiceLineUpdateWithoutPaymentInputObjectSchema } from './ServiceLineUpdateWithoutPaymentInput.schema';
|
||||
import { ServiceLineUncheckedUpdateWithoutPaymentInputObjectSchema as ServiceLineUncheckedUpdateWithoutPaymentInputObjectSchema } from './ServiceLineUncheckedUpdateWithoutPaymentInput.schema';
|
||||
import { ServiceLineCreateWithoutPaymentInputObjectSchema as ServiceLineCreateWithoutPaymentInputObjectSchema } from './ServiceLineCreateWithoutPaymentInput.schema';
|
||||
import { ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema as ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema } from './ServiceLineUncheckedCreateWithoutPaymentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => ServiceLineWhereUniqueInputObjectSchema),
|
||||
update: z.union([z.lazy(() => ServiceLineUpdateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineUncheckedUpdateWithoutPaymentInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => ServiceLineCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema)])
|
||||
}).strict();
|
||||
export const ServiceLineUpsertWithWhereUniqueWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineUpsertWithWhereUniqueWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpsertWithWhereUniqueWithoutPaymentInput>;
|
||||
export const ServiceLineUpsertWithWhereUniqueWithoutPaymentInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user