UNPKG

trpc-shield

Version:

tRPC permissions as another layer of abstraction!

12 lines (8 loc) 230 B
import { z } from 'zod'; import type { Prisma } from '@prisma/client'; const Schema: z.ZodType<any> = z .object({ id: z.literal(true).optional(), }) .strict(); export const UserSumAggregateInputObjectSchema = Schema;