13 lines
1.9 KiB
TypeScript
13 lines
1.9 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { ServiceLineSelectObjectSchema as ServiceLineSelectObjectSchema } from './objects/ServiceLineSelect.schema';
|
|
import { ServiceLineIncludeObjectSchema as ServiceLineIncludeObjectSchema } from './objects/ServiceLineInclude.schema';
|
|
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './objects/ServiceLineWhereUniqueInput.schema';
|
|
import { ServiceLineCreateInputObjectSchema as ServiceLineCreateInputObjectSchema } from './objects/ServiceLineCreateInput.schema';
|
|
import { ServiceLineUncheckedCreateInputObjectSchema as ServiceLineUncheckedCreateInputObjectSchema } from './objects/ServiceLineUncheckedCreateInput.schema';
|
|
import { ServiceLineUpdateInputObjectSchema as ServiceLineUpdateInputObjectSchema } from './objects/ServiceLineUpdateInput.schema';
|
|
import { ServiceLineUncheckedUpdateInputObjectSchema as ServiceLineUncheckedUpdateInputObjectSchema } from './objects/ServiceLineUncheckedUpdateInput.schema';
|
|
|
|
export const ServiceLineUpsertOneSchema: z.ZodType<Prisma.ServiceLineUpsertArgs> = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), where: ServiceLineWhereUniqueInputObjectSchema, create: z.union([ ServiceLineCreateInputObjectSchema, ServiceLineUncheckedCreateInputObjectSchema ]), update: z.union([ ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.ServiceLineUpsertArgs>;
|
|
|
|
export const ServiceLineUpsertOneZodSchema = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), where: ServiceLineWhereUniqueInputObjectSchema, create: z.union([ ServiceLineCreateInputObjectSchema, ServiceLineUncheckedCreateInputObjectSchema ]), update: z.union([ ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema ]) }).strict(); |