17 lines
No EOL
369 B
TypeScript
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 |