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

41 lines
3.4 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
export declare const PatientDocumentGroupBySchema: z.ZodType<Prisma.PatientDocumentGroupByArgs>;
export declare const PatientDocumentGroupByZodSchema: z.ZodObject<{
where: z.ZodOptional<z.ZodType<Prisma.PatientDocumentWhereInput, z.ZodTypeDef, Prisma.PatientDocumentWhereInput>>;
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.PatientDocumentOrderByWithAggregationInput, z.ZodTypeDef, Prisma.PatientDocumentOrderByWithAggregationInput>, z.ZodArray<z.ZodType<Prisma.PatientDocumentOrderByWithAggregationInput, z.ZodTypeDef, Prisma.PatientDocumentOrderByWithAggregationInput>, "many">]>>;
having: z.ZodOptional<z.ZodType<Prisma.PatientDocumentScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.PatientDocumentScalarWhereWithAggregatesInput>>;
take: z.ZodOptional<z.ZodNumber>;
skip: z.ZodOptional<z.ZodNumber>;
by: z.ZodArray<z.ZodEnum<["id", "patientId", "filename", "originalName", "mimeType", "fileSize", "filePath", "uploadedAt", "updatedAt"]>, "many">;
_count: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodType<Prisma.PatientDocumentCountAggregateInputType, z.ZodTypeDef, Prisma.PatientDocumentCountAggregateInputType>]>>;
_min: z.ZodOptional<z.ZodType<Prisma.PatientDocumentMinAggregateInputType, z.ZodTypeDef, Prisma.PatientDocumentMinAggregateInputType>>;
_max: z.ZodOptional<z.ZodType<Prisma.PatientDocumentMaxAggregateInputType, z.ZodTypeDef, Prisma.PatientDocumentMaxAggregateInputType>>;
_avg: z.ZodOptional<z.ZodType<Prisma.PatientDocumentAvgAggregateInputType, z.ZodTypeDef, Prisma.PatientDocumentAvgAggregateInputType>>;
_sum: z.ZodOptional<z.ZodType<Prisma.PatientDocumentSumAggregateInputType, z.ZodTypeDef, Prisma.PatientDocumentSumAggregateInputType>>;
}, "strict", z.ZodTypeAny, {
by: ("id" | "filename" | "uploadedAt" | "patientId" | "mimeType" | "updatedAt" | "originalName" | "fileSize" | "filePath")[];
where?: Prisma.PatientDocumentWhereInput | undefined;
_count?: true | Prisma.PatientDocumentCountAggregateInputType | undefined;
orderBy?: Prisma.PatientDocumentOrderByWithAggregationInput | Prisma.PatientDocumentOrderByWithAggregationInput[] | undefined;
take?: number | undefined;
skip?: number | undefined;
_min?: Prisma.PatientDocumentMinAggregateInputType | undefined;
_max?: Prisma.PatientDocumentMaxAggregateInputType | undefined;
_avg?: Prisma.PatientDocumentAvgAggregateInputType | undefined;
_sum?: Prisma.PatientDocumentSumAggregateInputType | undefined;
having?: Prisma.PatientDocumentScalarWhereWithAggregatesInput | undefined;
}, {
by: ("id" | "filename" | "uploadedAt" | "patientId" | "mimeType" | "updatedAt" | "originalName" | "fileSize" | "filePath")[];
where?: Prisma.PatientDocumentWhereInput | undefined;
_count?: true | Prisma.PatientDocumentCountAggregateInputType | undefined;
orderBy?: Prisma.PatientDocumentOrderByWithAggregationInput | Prisma.PatientDocumentOrderByWithAggregationInput[] | undefined;
take?: number | undefined;
skip?: number | undefined;
_min?: Prisma.PatientDocumentMinAggregateInputType | undefined;
_max?: Prisma.PatientDocumentMaxAggregateInputType | undefined;
_avg?: Prisma.PatientDocumentAvgAggregateInputType | undefined;
_sum?: Prisma.PatientDocumentSumAggregateInputType | undefined;
having?: Prisma.PatientDocumentScalarWhereWithAggregatesInput | undefined;
}>;
//# sourceMappingURL=groupByPatientDocument.schema.d.ts.map