trpc
tRPC routers: every procedure validates its input, and client code imports the server files of trpc.server_files as types only. It requires javascript.
Selected when
Section titled “Selected when”A scope has a dependency on @trpc/server or @trpc/client.
Settings
Section titled “Settings”| Setting | What it sets |
|---|---|
trpc.router_files |
The files that declare tRPC procedures. |
trpc.server_files |
The server files that other files of a tRPC scope may import only as types; empty turns the rule off. |
Rules for coding agents
Section titled “Rules for coding agents”| Rule file | Installed when |
|---|---|
.gspot/rules/TRPC.md |
Always |