feat(core-shared): add tRPC init with superjson

This commit is contained in:
2026-05-04 20:40:42 +02:00
parent a9a8d32726
commit cd2f3b1fff

View File

@@ -0,0 +1,10 @@
import { initTRPC } from "@trpc/server";
import superjson from "superjson";
const t = initTRPC.create({
transformer: superjson,
});
export const router = t.router;
export const publicProcedure = t.procedure;
export const middleware = t.middleware;