12 lines
479 B
TypeScript
12 lines
479 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.literal(true).optional(),
|
|
username: z.literal(true).optional(),
|
|
password: z.literal(true).optional()
|
|
}).strict();
|
|
export const UserMaxAggregateInputObjectSchema: z.ZodType<Prisma.UserMaxAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.UserMaxAggregateInputType>;
|
|
export const UserMaxAggregateInputObjectZodSchema = makeSchema();
|