initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema as PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './PatientUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema as AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './AppointmentUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema as StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './StaffUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema as NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema as ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './ClaimUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema as NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './NotificationUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema as CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CloudFileUncheckedCreateNestedManyWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
username: z.string(),
|
||||
password: z.string(),
|
||||
patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedCreateWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateWithoutCommunicationsInput>;
|
||||
export const UserUncheckedCreateWithoutCommunicationsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user