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 UserMinAggregateInputObjectSchema: z.ZodType<Prisma.UserMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.UserMinAggregateInputType>;
|
|
export const UserMinAggregateInputObjectZodSchema = makeSchema();
|