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

79 lines
4.9 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
export declare const CloudFileFindFirstSelectSchema: z.ZodType<Prisma.CloudFileSelect>;
export declare const CloudFileFindFirstSelectZodSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodBoolean>;
userId: z.ZodOptional<z.ZodBoolean>;
name: z.ZodOptional<z.ZodBoolean>;
mimeType: z.ZodOptional<z.ZodBoolean>;
fileSize: z.ZodOptional<z.ZodBoolean>;
folderId: z.ZodOptional<z.ZodBoolean>;
isComplete: z.ZodOptional<z.ZodBoolean>;
totalChunks: z.ZodOptional<z.ZodBoolean>;
createdAt: z.ZodOptional<z.ZodBoolean>;
updatedAt: z.ZodOptional<z.ZodBoolean>;
user: z.ZodOptional<z.ZodBoolean>;
folder: z.ZodOptional<z.ZodBoolean>;
chunks: z.ZodOptional<z.ZodBoolean>;
_count: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
createdAt?: boolean | undefined;
id?: boolean | undefined;
userId?: boolean | undefined;
user?: boolean | undefined;
name?: boolean | undefined;
mimeType?: boolean | undefined;
updatedAt?: boolean | undefined;
fileSize?: boolean | undefined;
isComplete?: boolean | undefined;
totalChunks?: boolean | undefined;
chunks?: boolean | undefined;
folderId?: boolean | undefined;
folder?: boolean | undefined;
_count?: boolean | undefined;
}, {
createdAt?: boolean | undefined;
id?: boolean | undefined;
userId?: boolean | undefined;
user?: boolean | undefined;
name?: boolean | undefined;
mimeType?: boolean | undefined;
updatedAt?: boolean | undefined;
fileSize?: boolean | undefined;
isComplete?: boolean | undefined;
totalChunks?: boolean | undefined;
chunks?: boolean | undefined;
folderId?: boolean | undefined;
folder?: boolean | undefined;
_count?: boolean | undefined;
}>;
export declare const CloudFileFindFirstSchema: z.ZodType<Prisma.CloudFileFindFirstArgs>;
export declare const CloudFileFindFirstZodSchema: z.ZodObject<{
select: z.ZodOptional<z.ZodType<Prisma.CloudFileSelect<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.CloudFileSelect<import("../../generated/prisma/runtime/client").DefaultArgs>>>;
include: z.ZodLazy<z.ZodOptional<z.ZodType<Prisma.CloudFileInclude<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.CloudFileInclude<import("../../generated/prisma/runtime/client").DefaultArgs>>>>;
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.CloudFileOrderByWithRelationInput, z.ZodTypeDef, Prisma.CloudFileOrderByWithRelationInput>, z.ZodArray<z.ZodType<Prisma.CloudFileOrderByWithRelationInput, z.ZodTypeDef, Prisma.CloudFileOrderByWithRelationInput>, "many">]>>;
where: z.ZodOptional<z.ZodType<Prisma.CloudFileWhereInput, z.ZodTypeDef, Prisma.CloudFileWhereInput>>;
cursor: z.ZodOptional<z.ZodType<Prisma.CloudFileWhereUniqueInput, z.ZodTypeDef, Prisma.CloudFileWhereUniqueInput>>;
take: z.ZodOptional<z.ZodNumber>;
skip: z.ZodOptional<z.ZodNumber>;
distinct: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["id", "userId", "name", "mimeType", "fileSize", "folderId", "isComplete", "totalChunks", "createdAt", "updatedAt"]>, z.ZodArray<z.ZodEnum<["id", "userId", "name", "mimeType", "fileSize", "folderId", "isComplete", "totalChunks", "createdAt", "updatedAt"]>, "many">]>>;
}, "strict", z.ZodTypeAny, {
where?: Prisma.CloudFileWhereInput | undefined;
include?: Prisma.CloudFileInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
select?: Prisma.CloudFileSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
orderBy?: Prisma.CloudFileOrderByWithRelationInput | Prisma.CloudFileOrderByWithRelationInput[] | undefined;
cursor?: Prisma.CloudFileWhereUniqueInput | undefined;
take?: number | undefined;
skip?: number | undefined;
distinct?: "createdAt" | "id" | "userId" | "name" | "mimeType" | "updatedAt" | "fileSize" | "isComplete" | "totalChunks" | "folderId" | ("createdAt" | "id" | "userId" | "name" | "mimeType" | "updatedAt" | "fileSize" | "isComplete" | "totalChunks" | "folderId")[] | undefined;
}, {
where?: Prisma.CloudFileWhereInput | undefined;
include?: Prisma.CloudFileInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
select?: Prisma.CloudFileSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
orderBy?: Prisma.CloudFileOrderByWithRelationInput | Prisma.CloudFileOrderByWithRelationInput[] | undefined;
cursor?: Prisma.CloudFileWhereUniqueInput | undefined;
take?: number | undefined;
skip?: number | undefined;
distinct?: "createdAt" | "id" | "userId" | "name" | "mimeType" | "updatedAt" | "fileSize" | "isComplete" | "totalChunks" | "folderId" | ("createdAt" | "id" | "userId" | "name" | "mimeType" | "updatedAt" | "fileSize" | "isComplete" | "totalChunks" | "folderId")[] | undefined;
}>;
//# sourceMappingURL=findFirstCloudFile.schema.d.ts.map