Skip to main content
Version: 11.x

Interface: TRPCRequest

All requests/responses extends this shape

Extends

Properties

id

optional id: RequestId

Source

packages/core/dist/rpc/envelopes.d.ts:20

Inherited from

Request.id


jsonrpc

optional jsonrpc: "2.0"

Source

packages/core/dist/rpc/envelopes.d.ts:21

Inherited from

Request.jsonrpc


method

method: "query" | "mutation" | "subscription"

Source

packages/core/dist/rpc/envelopes.d.ts:24

Inherited from

Request.method


params

params: object

Type declaration

params.input

input: unknown

params.path

path: string

Source

packages/core/dist/rpc/envelopes.d.ts:27

Inherited from

Request.params


Generated using TypeDoc and typedoc-plugin-markdown