initial commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { AppointmentProcedureIncludeObjectSchema as AppointmentProcedureIncludeObjectSchema } from './objects/AppointmentProcedureInclude.schema';
|
||||
import { AppointmentProcedureOrderByWithRelationInputObjectSchema as AppointmentProcedureOrderByWithRelationInputObjectSchema } from './objects/AppointmentProcedureOrderByWithRelationInput.schema';
|
||||
import { AppointmentProcedureWhereInputObjectSchema as AppointmentProcedureWhereInputObjectSchema } from './objects/AppointmentProcedureWhereInput.schema';
|
||||
import { AppointmentProcedureWhereUniqueInputObjectSchema as AppointmentProcedureWhereUniqueInputObjectSchema } from './objects/AppointmentProcedureWhereUniqueInput.schema';
|
||||
import { AppointmentProcedureScalarFieldEnumSchema } from './enums/AppointmentProcedureScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const AppointmentProcedureFindFirstOrThrowSelectSchema: z.ZodType<Prisma.AppointmentProcedureSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
appointmentId: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
procedureLabel: z.boolean().optional(),
|
||||
fee: z.boolean().optional(),
|
||||
category: z.boolean().optional(),
|
||||
toothNumber: z.boolean().optional(),
|
||||
toothSurface: z.boolean().optional(),
|
||||
oralCavityArea: z.boolean().optional(),
|
||||
source: z.boolean().optional(),
|
||||
comboKey: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
appointment: z.boolean().optional(),
|
||||
patient: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.AppointmentProcedureSelect>;
|
||||
|
||||
export const AppointmentProcedureFindFirstOrThrowSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
appointmentId: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
procedureLabel: z.boolean().optional(),
|
||||
fee: z.boolean().optional(),
|
||||
category: z.boolean().optional(),
|
||||
toothNumber: z.boolean().optional(),
|
||||
toothSurface: z.boolean().optional(),
|
||||
oralCavityArea: z.boolean().optional(),
|
||||
source: z.boolean().optional(),
|
||||
comboKey: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
appointment: z.boolean().optional(),
|
||||
patient: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const AppointmentProcedureFindFirstOrThrowSchema: z.ZodType<Prisma.AppointmentProcedureFindFirstOrThrowArgs> = z.object({ select: AppointmentProcedureFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => AppointmentProcedureIncludeObjectSchema.optional()), orderBy: z.union([AppointmentProcedureOrderByWithRelationInputObjectSchema, AppointmentProcedureOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentProcedureWhereInputObjectSchema.optional(), cursor: AppointmentProcedureWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentProcedureScalarFieldEnumSchema, AppointmentProcedureScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.AppointmentProcedureFindFirstOrThrowArgs>;
|
||||
|
||||
export const AppointmentProcedureFindFirstOrThrowZodSchema = z.object({ select: AppointmentProcedureFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => AppointmentProcedureIncludeObjectSchema.optional()), orderBy: z.union([AppointmentProcedureOrderByWithRelationInputObjectSchema, AppointmentProcedureOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentProcedureWhereInputObjectSchema.optional(), cursor: AppointmentProcedureWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentProcedureScalarFieldEnumSchema, AppointmentProcedureScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
Reference in New Issue
Block a user