Skip to main content

authoringProtocolRequestSchema

@gooi/language-server


@gooi/language-server / contracts/protocol-contracts / authoringProtocolRequestSchema

Variable: authoringProtocolRequestSchema

const authoringProtocolRequestSchema: ZodObject<{ id: ZodNullable<ZodUnion<readonly [ZodString, ZodNumber]>>; method: ZodEnum<{ $/cancelRequest: "$/cancelRequest"; codeLens/resolve: "codeLens/resolve"; completionItem/resolve: "completionItem/resolve"; gooi/pullDiagnostics: "gooi/pullDiagnostics"; textDocument/codeLens: "textDocument/codeLens"; textDocument/completion: "textDocument/completion"; textDocument/definition: "textDocument/definition"; textDocument/didChange: "textDocument/didChange"; textDocument/didOpen: "textDocument/didOpen"; textDocument/documentSymbol: "textDocument/documentSymbol"; textDocument/hover: "textDocument/hover"; textDocument/prepareRename: "textDocument/prepareRename"; textDocument/references: "textDocument/references"; textDocument/rename: "textDocument/rename"; workspace/symbol: "workspace/symbol"; }>; params: ZodUnknown; }, $strip>

Defined in: authoring/language-server/src/contracts/protocol-contracts.ts:39

Protocol request envelope used by authoring protocol handlers.