Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/t3-oss/create-t3-app
/ example-router.ts
File
example-router.ts
template/addons/trpc/example-router.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createRouter } from
"./context"
;
2
import
{ z } from
"zod"
;
3
4
export
const
exampleRouter = createRouter().query(
"hello"
, {
Callers
nothing calls this directly
Calls
1
createRouter
Function · 0.90
Tested by
no test coverage detected