14 lines
354 B
TypeScript
14 lines
354 B
TypeScript
import { z } from 'zod';
|
|
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
const Schema: z.ZodType<Prisma.UserMaxAggregateInputType> = z
|
|
.object({
|
|
id: z.literal(true).optional(),
|
|
username: z.literal(true).optional(),
|
|
password: z.literal(true).optional(),
|
|
})
|
|
.strict();
|
|
|
|
export const UserMaxAggregateInputObjectSchema = Schema;
|