initial commit
This commit is contained in:
10
packages/db/shared/schemas/createOneServiceLine.schema.ts
Normal file
10
packages/db/shared/schemas/createOneServiceLine.schema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user