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

14 lines
572 B
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
const makeSchema = () => z.object({
id: z.number().int().optional(),
fileId: z.number().int(),
seq: z.number().int(),
data: z.instanceof(Uint8Array),
createdAt: z.coerce.date().optional()
}).strict();
export const CloudFileChunkUncheckedCreateInputObjectSchema: z.ZodType<Prisma.CloudFileChunkUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileChunkUncheckedCreateInput>;
export const CloudFileChunkUncheckedCreateInputObjectZodSchema = makeSchema();