Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/msgbyte/tianji
/ trpc.ts
File
trpc.ts
src/server/trpc/trpc.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ initTRPC, TRPCError } from
'@trpc/server'
;
2
import
{ z } from
'zod'
;
3
import
{ jwtVerify } from
'../middleware/auth.js'
;
4
import
{ getWorkspaceUser } from
'../model/workspace.js'
;
Callers
nothing calls this directly
Calls
5
verifyUserApiKey
Function · 0.85
jwtVerify
Function · 0.85
createWorkspacePermissionMiddleware
Function · 0.85
use
Method · 0.80
input
Method · 0.80
Tested by
no test coverage detected