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

41 lines
3.2 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
export declare const CloudFileGroupBySchema: z.ZodType<Prisma.CloudFileGroupByArgs>;
export declare const CloudFileGroupByZodSchema: z.ZodObject<{
where: z.ZodOptional<z.ZodType<Prisma.CloudFileWhereInput, z.ZodTypeDef, Prisma.CloudFileWhereInput>>;
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.CloudFileOrderByWithAggregationInput, z.ZodTypeDef, Prisma.CloudFileOrderByWithAggregationInput>, z.ZodArray<z.ZodType<Prisma.CloudFileOrderByWithAggregationInput, z.ZodTypeDef, Prisma.CloudFileOrderByWithAggregationInput>, "many">]>>;
having: z.ZodOptional<z.ZodType<Prisma.CloudFileScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.CloudFileScalarWhereWithAggregatesInput>>;
take: z.ZodOptional<z.ZodNumber>;
skip: z.ZodOptional<z.ZodNumber>;
by: z.ZodArray<z.ZodEnum<["id", "userId", "name", "mimeType", "fileSize", "folderId", "isComplete", "totalChunks", "createdAt", "updatedAt"]>, "many">;
_count: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodType<Prisma.CloudFileCountAggregateInputType, z.ZodTypeDef, Prisma.CloudFileCountAggregateInputType>]>>;
_min: z.ZodOptional<z.ZodType<Prisma.CloudFileMinAggregateInputType, z.ZodTypeDef, Prisma.CloudFileMinAggregateInputType>>;
_max: z.ZodOptional<z.ZodType<Prisma.CloudFileMaxAggregateInputType, z.ZodTypeDef, Prisma.CloudFileMaxAggregateInputType>>;
_avg: z.ZodOptional<z.ZodType<Prisma.CloudFileAvgAggregateInputType, z.ZodTypeDef, Prisma.CloudFileAvgAggregateInputType>>;
_sum: z.ZodOptional<z.ZodType<Prisma.CloudFileSumAggregateInputType, z.ZodTypeDef, Prisma.CloudFileSumAggregateInputType>>;
}, "strict", z.ZodTypeAny, {
by: ("createdAt" | "id" | "userId" | "name" | "mimeType" | "updatedAt" | "fileSize" | "isComplete" | "totalChunks" | "folderId")[];
where?: Prisma.CloudFileWhereInput | undefined;
_count?: true | Prisma.CloudFileCountAggregateInputType | undefined;
orderBy?: Prisma.CloudFileOrderByWithAggregationInput | Prisma.CloudFileOrderByWithAggregationInput[] | undefined;
take?: number | undefined;
skip?: number | undefined;
_min?: Prisma.CloudFileMinAggregateInputType | undefined;
_max?: Prisma.CloudFileMaxAggregateInputType | undefined;
_avg?: Prisma.CloudFileAvgAggregateInputType | undefined;
_sum?: Prisma.CloudFileSumAggregateInputType | undefined;
having?: Prisma.CloudFileScalarWhereWithAggregatesInput | undefined;
}, {
by: ("createdAt" | "id" | "userId" | "name" | "mimeType" | "updatedAt" | "fileSize" | "isComplete" | "totalChunks" | "folderId")[];
where?: Prisma.CloudFileWhereInput | undefined;
_count?: true | Prisma.CloudFileCountAggregateInputType | undefined;
orderBy?: Prisma.CloudFileOrderByWithAggregationInput | Prisma.CloudFileOrderByWithAggregationInput[] | undefined;
take?: number | undefined;
skip?: number | undefined;
_min?: Prisma.CloudFileMinAggregateInputType | undefined;
_max?: Prisma.CloudFileMaxAggregateInputType | undefined;
_avg?: Prisma.CloudFileAvgAggregateInputType | undefined;
_sum?: Prisma.CloudFileSumAggregateInputType | undefined;
having?: Prisma.CloudFileScalarWhereWithAggregatesInput | undefined;
}>;
//# sourceMappingURL=groupByCloudFile.schema.d.ts.map