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

35 lines
1.9 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
export declare const CloudFileCreateInputObjectSchema: z.ZodType<Prisma.CloudFileCreateInput>;
export declare const CloudFileCreateInputObjectZodSchema: z.ZodObject<{
name: z.ZodString;
mimeType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
fileSize: z.ZodBigInt;
isComplete: z.ZodOptional<z.ZodBoolean>;
totalChunks: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
createdAt: z.ZodOptional<z.ZodDate>;
user: z.ZodLazy<z.ZodType<Prisma.UserCreateNestedOneWithoutCloudFilesInput, z.ZodTypeDef, Prisma.UserCreateNestedOneWithoutCloudFilesInput>>;
folder: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.CloudFolderCreateNestedOneWithoutFilesInput, z.ZodTypeDef, Prisma.CloudFolderCreateNestedOneWithoutFilesInput>>>;
chunks: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.CloudFileChunkCreateNestedManyWithoutFileInput, z.ZodTypeDef, Prisma.CloudFileChunkCreateNestedManyWithoutFileInput>>>;
}, "strict", z.ZodTypeAny, {
user: Prisma.UserCreateNestedOneWithoutCloudFilesInput;
name: string;
fileSize: bigint;
createdAt?: Date | undefined;
mimeType?: string | null | undefined;
isComplete?: boolean | undefined;
totalChunks?: number | null | undefined;
chunks?: Prisma.CloudFileChunkCreateNestedManyWithoutFileInput | undefined;
folder?: Prisma.CloudFolderCreateNestedOneWithoutFilesInput | undefined;
}, {
user: Prisma.UserCreateNestedOneWithoutCloudFilesInput;
name: string;
fileSize: bigint;
createdAt?: Date | undefined;
mimeType?: string | null | undefined;
isComplete?: boolean | undefined;
totalChunks?: number | null | undefined;
chunks?: Prisma.CloudFileChunkCreateNestedManyWithoutFileInput | undefined;
folder?: Prisma.CloudFolderCreateNestedOneWithoutFilesInput | undefined;
}>;
//# sourceMappingURL=CloudFileCreateInput.schema.d.ts.map