twenty-one/src/server/trpc/index.ts
2023-04-18 22:58:02 +02:00

17 lines
No EOL
369 B
TypeScript

import { t } from "./base"
import { prismaClient } from "../prisma"
import type { Prisma } from "../prisma"
import z from "zod"
export const appRouter = t.router({
create: t.procedure
.input(z.object({
skip: z.number().int().min(0),
groupId: z.string().cuid().optional()
}))
.query(async ({ input }) => {
})
})
export type AppRouter = typeof appRouter