Interface: RegisterWasmPluginRequest
@kortexya/reasoninglayer / RegisterWasmPluginRequest
Interface: RegisterWasmPluginRequest
Section titled “Interface: RegisterWasmPluginRequest”Defined in: src/types/plugins.ts:117
Body of POST /api/v1/plugins/wasm — register a plugin, or add a version
of one.
Example
Section titled “Example”const request: RegisterWasmPluginRequest = { manifest, moduleBase64: Buffer.from(wasmBytes).toString('base64'),};Properties
Section titled “Properties”manifest
Section titled “manifest”manifest:
WasmPluginManifest
Defined in: src/types/plugins.ts:119
The plugin manifest.
moduleBase64
Section titled “moduleBase64”moduleBase64:
string
Defined in: src/types/plugins.ts:121
Base64 (standard alphabet) of the raw .wasm module bytes.
scope?
Section titled “scope?”
optionalscope?:WasmPluginScope
Defined in: src/types/plugins.ts:123
Registration scope. Default tenant.