initial commit
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ServiceLineIncludeObjectSchema as ServiceLineIncludeObjectSchema } from './objects/ServiceLineInclude.schema';
|
||||
import { ServiceLineOrderByWithRelationInputObjectSchema as ServiceLineOrderByWithRelationInputObjectSchema } from './objects/ServiceLineOrderByWithRelationInput.schema';
|
||||
import { ServiceLineWhereInputObjectSchema as ServiceLineWhereInputObjectSchema } from './objects/ServiceLineWhereInput.schema';
|
||||
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './objects/ServiceLineWhereUniqueInput.schema';
|
||||
import { ServiceLineScalarFieldEnumSchema } from './enums/ServiceLineScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const ServiceLineFindFirstOrThrowSelectSchema: z.ZodType<Prisma.ServiceLineSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
claimId: z.boolean().optional(),
|
||||
paymentId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
procedureDate: z.boolean().optional(),
|
||||
quad: z.boolean().optional(),
|
||||
arch: z.boolean().optional(),
|
||||
toothNumber: z.boolean().optional(),
|
||||
toothSurface: z.boolean().optional(),
|
||||
totalBilled: z.boolean().optional(),
|
||||
totalPaid: z.boolean().optional(),
|
||||
totalAdjusted: z.boolean().optional(),
|
||||
totalDue: z.boolean().optional(),
|
||||
status: z.boolean().optional(),
|
||||
claim: z.boolean().optional(),
|
||||
payment: z.boolean().optional(),
|
||||
serviceLineTransactions: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.ServiceLineSelect>;
|
||||
|
||||
export const ServiceLineFindFirstOrThrowSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
claimId: z.boolean().optional(),
|
||||
paymentId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
procedureDate: z.boolean().optional(),
|
||||
quad: z.boolean().optional(),
|
||||
arch: z.boolean().optional(),
|
||||
toothNumber: z.boolean().optional(),
|
||||
toothSurface: z.boolean().optional(),
|
||||
totalBilled: z.boolean().optional(),
|
||||
totalPaid: z.boolean().optional(),
|
||||
totalAdjusted: z.boolean().optional(),
|
||||
totalDue: z.boolean().optional(),
|
||||
status: z.boolean().optional(),
|
||||
claim: z.boolean().optional(),
|
||||
payment: z.boolean().optional(),
|
||||
serviceLineTransactions: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const ServiceLineFindFirstOrThrowSchema: z.ZodType<Prisma.ServiceLineFindFirstOrThrowArgs> = z.object({ select: ServiceLineFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => ServiceLineIncludeObjectSchema.optional()), orderBy: z.union([ServiceLineOrderByWithRelationInputObjectSchema, ServiceLineOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineWhereInputObjectSchema.optional(), cursor: ServiceLineWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ServiceLineScalarFieldEnumSchema, ServiceLineScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.ServiceLineFindFirstOrThrowArgs>;
|
||||
|
||||
export const ServiceLineFindFirstOrThrowZodSchema = z.object({ select: ServiceLineFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => ServiceLineIncludeObjectSchema.optional()), orderBy: z.union([ServiceLineOrderByWithRelationInputObjectSchema, ServiceLineOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineWhereInputObjectSchema.optional(), cursor: ServiceLineWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ServiceLineScalarFieldEnumSchema, ServiceLineScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
Reference in New Issue
Block a user