cal.pub0.org/packages/trpc/server/procedures/publicProcedure.ts

7 lines
200 B
TypeScript

import perfMiddleware from "../middlewares/perfMiddleware";
import { tRPCContext } from "../trpc";
const publicProcedure = tRPCContext.procedure.use(perfMiddleware);
export default publicProcedure;