MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / trpc.ts

File trpc.ts

packages/trpc/src/trpc.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { TRPCError, initTRPC } from '@trpc/server';
2import type { CreateFastifyContextOptions } from '@trpc/server/adapters/fastify';
3import { has } from 'ramda';
4import superjson from 'superjson';

Callers

nothing calls this directly

Calls 5

runWithAlsSessionFunction · 0.90
hasFunction · 0.85
infoMethod · 0.80
useMethod · 0.80
errorMethod · 0.45

Tested by

no test coverage detected