14 lines
589 B
TypeScript
14 lines
589 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.literal(true).optional(),
|
|
fileId: z.literal(true).optional(),
|
|
seq: z.literal(true).optional(),
|
|
data: z.literal(true).optional(),
|
|
createdAt: z.literal(true).optional()
|
|
}).strict();
|
|
export const CloudFileChunkMaxAggregateInputObjectSchema: z.ZodType<Prisma.CloudFileChunkMaxAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileChunkMaxAggregateInputType>;
|
|
export const CloudFileChunkMaxAggregateInputObjectZodSchema = makeSchema();
|