Interface: GuardCallOptions
Defined in: packages/trpc/src/guards.ts:40
The call a guard runs in, as onUnauthenticated / onForbidden and resolve get it.
Extended by
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
ctx | any | The procedure's context (after the middlewares that ran before the guard). | packages/trpc/src/guards.ts:42 |
path | string | The procedure's path, such as post.byId. | packages/trpc/src/guards.ts:44 |
type | "query" | "mutation" | "subscription" | - | packages/trpc/src/guards.ts:45 |
