Files
DentalManagementMHAprilgg/packages/db/shared/schemas/findFirstOrThrowPatientDocument.schema.d.ts
2026-04-04 22:13:55 -04:00

67 lines
4.7 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
export declare const PatientDocumentFindFirstOrThrowSelectSchema: z.ZodType<Prisma.PatientDocumentSelect>;
export declare const PatientDocumentFindFirstOrThrowSelectZodSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodBoolean>;
patientId: z.ZodOptional<z.ZodBoolean>;
filename: z.ZodOptional<z.ZodBoolean>;
originalName: z.ZodOptional<z.ZodBoolean>;
mimeType: z.ZodOptional<z.ZodBoolean>;
fileSize: z.ZodOptional<z.ZodBoolean>;
filePath: z.ZodOptional<z.ZodBoolean>;
uploadedAt: z.ZodOptional<z.ZodBoolean>;
updatedAt: z.ZodOptional<z.ZodBoolean>;
patient: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
id?: boolean | undefined;
filename?: boolean | undefined;
uploadedAt?: boolean | undefined;
patientId?: boolean | undefined;
patient?: boolean | undefined;
mimeType?: boolean | undefined;
updatedAt?: boolean | undefined;
originalName?: boolean | undefined;
fileSize?: boolean | undefined;
filePath?: boolean | undefined;
}, {
id?: boolean | undefined;
filename?: boolean | undefined;
uploadedAt?: boolean | undefined;
patientId?: boolean | undefined;
patient?: boolean | undefined;
mimeType?: boolean | undefined;
updatedAt?: boolean | undefined;
originalName?: boolean | undefined;
fileSize?: boolean | undefined;
filePath?: boolean | undefined;
}>;
export declare const PatientDocumentFindFirstOrThrowSchema: z.ZodType<Prisma.PatientDocumentFindFirstOrThrowArgs>;
export declare const PatientDocumentFindFirstOrThrowZodSchema: z.ZodObject<{
select: z.ZodOptional<z.ZodType<Prisma.PatientDocumentSelect<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.PatientDocumentSelect<import("../../generated/prisma/runtime/client").DefaultArgs>>>;
include: z.ZodLazy<z.ZodOptional<z.ZodType<Prisma.PatientDocumentInclude<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.PatientDocumentInclude<import("../../generated/prisma/runtime/client").DefaultArgs>>>>;
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.PatientDocumentOrderByWithRelationInput, z.ZodTypeDef, Prisma.PatientDocumentOrderByWithRelationInput>, z.ZodArray<z.ZodType<Prisma.PatientDocumentOrderByWithRelationInput, z.ZodTypeDef, Prisma.PatientDocumentOrderByWithRelationInput>, "many">]>>;
where: z.ZodOptional<z.ZodType<Prisma.PatientDocumentWhereInput, z.ZodTypeDef, Prisma.PatientDocumentWhereInput>>;
cursor: z.ZodOptional<z.ZodType<Prisma.PatientDocumentWhereUniqueInput, z.ZodTypeDef, Prisma.PatientDocumentWhereUniqueInput>>;
take: z.ZodOptional<z.ZodNumber>;
skip: z.ZodOptional<z.ZodNumber>;
distinct: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["id", "patientId", "filename", "originalName", "mimeType", "fileSize", "filePath", "uploadedAt", "updatedAt"]>, z.ZodArray<z.ZodEnum<["id", "patientId", "filename", "originalName", "mimeType", "fileSize", "filePath", "uploadedAt", "updatedAt"]>, "many">]>>;
}, "strict", z.ZodTypeAny, {
where?: Prisma.PatientDocumentWhereInput | undefined;
include?: Prisma.PatientDocumentInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
select?: Prisma.PatientDocumentSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
orderBy?: Prisma.PatientDocumentOrderByWithRelationInput | Prisma.PatientDocumentOrderByWithRelationInput[] | undefined;
cursor?: Prisma.PatientDocumentWhereUniqueInput | undefined;
take?: number | undefined;
skip?: number | undefined;
distinct?: "id" | "filename" | "uploadedAt" | "patientId" | "mimeType" | "updatedAt" | "originalName" | "fileSize" | "filePath" | ("id" | "filename" | "uploadedAt" | "patientId" | "mimeType" | "updatedAt" | "originalName" | "fileSize" | "filePath")[] | undefined;
}, {
where?: Prisma.PatientDocumentWhereInput | undefined;
include?: Prisma.PatientDocumentInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
select?: Prisma.PatientDocumentSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
orderBy?: Prisma.PatientDocumentOrderByWithRelationInput | Prisma.PatientDocumentOrderByWithRelationInput[] | undefined;
cursor?: Prisma.PatientDocumentWhereUniqueInput | undefined;
take?: number | undefined;
skip?: number | undefined;
distinct?: "id" | "filename" | "uploadedAt" | "patientId" | "mimeType" | "updatedAt" | "originalName" | "fileSize" | "filePath" | ("id" | "filename" | "uploadedAt" | "patientId" | "mimeType" | "updatedAt" | "originalName" | "fileSize" | "filePath")[] | undefined;
}>;
//# sourceMappingURL=findFirstOrThrowPatientDocument.schema.d.ts.map