15 lines
623 B
TypeScript
15 lines
623 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.literal(true).optional(),
|
|
userId: z.literal(true).optional(),
|
|
name: z.literal(true).optional(),
|
|
parentId: z.literal(true).optional(),
|
|
createdAt: z.literal(true).optional(),
|
|
updatedAt: z.literal(true).optional()
|
|
}).strict();
|
|
export const CloudFolderMinAggregateInputObjectSchema: z.ZodType<Prisma.CloudFolderMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderMinAggregateInputType>;
|
|
export const CloudFolderMinAggregateInputObjectZodSchema = makeSchema();
|