fix: fix remote browser socket connection and related updates
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema'
|
||||
import { ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -18,7 +19,8 @@ const makeSchema = () => z.object({
|
||||
status: z.string().optional(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
eligibilityStatus: PatientStatusSchema.optional(),
|
||||
claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
files: z.lazy(() => AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentUncheckedCreateWithoutProceduresInputObjectSchema: z.ZodType<Prisma.AppointmentUncheckedCreateWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUncheckedCreateWithoutProceduresInput>;
|
||||
export const AppointmentUncheckedCreateWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
|
||||
Reference in New Issue
Block a user