initial commit
This commit is contained in:
11
packages/db/shared/schemas/updateOneServiceLine.schema.ts
Normal file
11
packages/db/shared/schemas/updateOneServiceLine.schema.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
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 { ServiceLineUpdateInputObjectSchema as ServiceLineUpdateInputObjectSchema } from './objects/ServiceLineUpdateInput.schema';
|
||||
import { ServiceLineUncheckedUpdateInputObjectSchema as ServiceLineUncheckedUpdateInputObjectSchema } from './objects/ServiceLineUncheckedUpdateInput.schema';
|
||||
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './objects/ServiceLineWhereUniqueInput.schema';
|
||||
|
||||
export const ServiceLineUpdateOneSchema: z.ZodType<Prisma.ServiceLineUpdateArgs> = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), data: z.union([ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema]), where: ServiceLineWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.ServiceLineUpdateArgs>;
|
||||
|
||||
export const ServiceLineUpdateOneZodSchema = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), data: z.union([ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema]), where: ServiceLineWhereUniqueInputObjectSchema }).strict();
|
||||
Reference in New Issue
Block a user