10 lines
1.2 KiB
TypeScript
10 lines
1.2 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 { ServiceLineCreateInputObjectSchema as ServiceLineCreateInputObjectSchema } from './objects/ServiceLineCreateInput.schema';
|
|
import { ServiceLineUncheckedCreateInputObjectSchema as ServiceLineUncheckedCreateInputObjectSchema } from './objects/ServiceLineUncheckedCreateInput.schema';
|
|
|
|
export const ServiceLineCreateOneSchema: z.ZodType<Prisma.ServiceLineCreateArgs> = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), data: z.union([ServiceLineCreateInputObjectSchema, ServiceLineUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.ServiceLineCreateArgs>;
|
|
|
|
export const ServiceLineCreateOneZodSchema = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), data: z.union([ServiceLineCreateInputObjectSchema, ServiceLineUncheckedCreateInputObjectSchema]) }).strict(); |