kibana/api_docs/bfetch.devdocs.json

1129 lines
No EOL
36 KiB
JSON

{
"id": "bfetch",
"client": {
"classes": [],
"functions": [
{
"parentPluginId": "bfetch",
"id": "def-public.split",
"type": "Function",
"tags": [],
"label": "split",
"description": [
"\nReceives observable that emits strings, and returns a new observable\nthat also returns strings separated by delimiter.\n\nInput stream:\n\n asdf.f -> df..aaa. -> dfsdf\n\nOutput stream, assuming \".\" is used as delimiter:\n\n asdf -> fdf -> aaa -> dfsdf\n"
],
"signature": [
"(delimiter?: string) => (in$: ",
"Observable",
"<string>) => ",
"Observable",
"<string>"
],
"path": "src/plugins/bfetch/public/streaming/split.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-public.split.$1",
"type": "string",
"tags": [],
"label": "delimiter",
"description": [],
"signature": [
"string"
],
"path": "src/plugins/bfetch/public/streaming/split.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [],
"enums": [],
"misc": [
{
"parentPluginId": "bfetch",
"id": "def-public.BatchedFunc",
"type": "Type",
"tags": [],
"label": "BatchedFunc",
"description": [],
"signature": [
"(payload: Payload, signal?: AbortSignal | undefined) => Promise<Result>"
],
"path": "src/plugins/bfetch/public/batching/types.ts",
"deprecated": false,
"trackAdoption": false,
"returnComment": [],
"children": [
{
"parentPluginId": "bfetch",
"id": "def-public.BatchedFunc.$1",
"type": "Uncategorized",
"tags": [],
"label": "payload",
"description": [],
"signature": [
"Payload"
],
"path": "src/plugins/bfetch/public/batching/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "bfetch",
"id": "def-public.BatchedFunc.$2",
"type": "Object",
"tags": [],
"label": "signal",
"description": [],
"signature": [
"AbortSignal | undefined"
],
"path": "src/plugins/bfetch/public/batching/types.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-public.DISABLE_BFETCH",
"type": "string",
"tags": [],
"label": "DISABLE_BFETCH",
"description": [],
"signature": [
"\"bfetch:disable\""
],
"path": "src/plugins/bfetch/common/constants.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
}
],
"objects": [],
"start": {
"parentPluginId": "bfetch",
"id": "def-public.BfetchPublicContract",
"type": "Interface",
"tags": [],
"label": "BfetchPublicContract",
"description": [],
"path": "src/plugins/bfetch/public/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-public.BfetchPublicContract.fetchStreaming",
"type": "Function",
"tags": [],
"label": "fetchStreaming",
"description": [],
"signature": [
"(params: ",
"FetchStreamingParams",
") => { xhr: XMLHttpRequest; stream: ",
"Observable",
"<string>; }"
],
"path": "src/plugins/bfetch/public/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-public.BfetchPublicContract.fetchStreaming.$1",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
"FetchStreamingParams"
],
"path": "src/plugins/bfetch/public/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-public.BfetchPublicContract.batchedFunction",
"type": "Function",
"tags": [],
"label": "batchedFunction",
"description": [],
"signature": [
"<Payload, Result extends object>(params: ",
"StreamingBatchedFunctionParams",
"<Payload, Result>) => ",
{
"pluginId": "bfetch",
"scope": "public",
"docId": "kibBfetchPluginApi",
"section": "def-public.BatchedFunc",
"text": "BatchedFunc"
},
"<Payload, Result>"
],
"path": "src/plugins/bfetch/public/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-public.BfetchPublicContract.batchedFunction.$1",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
"StreamingBatchedFunctionParams",
"<Payload, Result>"
],
"path": "src/plugins/bfetch/public/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
}
],
"lifecycle": "start",
"initialIsOpen": true
}
},
"server": {
"classes": [],
"functions": [],
"interfaces": [
{
"parentPluginId": "bfetch",
"id": "def-server.BatchProcessingRouteParams",
"type": "Interface",
"tags": [],
"label": "BatchProcessingRouteParams",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "server",
"docId": "kibBfetchPluginApi",
"section": "def-server.BatchProcessingRouteParams",
"text": "BatchProcessingRouteParams"
},
"<BatchItemData, BatchItemResult>"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-server.BatchProcessingRouteParams.onBatchItem",
"type": "Function",
"tags": [],
"label": "onBatchItem",
"description": [],
"signature": [
"(data: BatchItemData) => Promise<BatchItemResult>"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-server.BatchProcessingRouteParams.onBatchItem.$1",
"type": "Uncategorized",
"tags": [],
"label": "data",
"description": [],
"signature": [
"BatchItemData"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
}
],
"enums": [],
"misc": [],
"objects": [],
"setup": {
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup",
"type": "Interface",
"tags": [],
"label": "BfetchServerSetup",
"description": [],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addBatchProcessingRoute",
"type": "Function",
"tags": [],
"label": "addBatchProcessingRoute",
"description": [],
"signature": [
"<BatchItemData extends object, BatchItemResult extends object>(path: string, handler: (request: ",
{
"pluginId": "@kbn/core-http-server",
"scope": "server",
"docId": "kibKbnCoreHttpServerPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>) => ",
{
"pluginId": "bfetch",
"scope": "server",
"docId": "kibBfetchPluginApi",
"section": "def-server.BatchProcessingRouteParams",
"text": "BatchProcessingRouteParams"
},
"<BatchItemData, BatchItemResult>) => void"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addBatchProcessingRoute.$1",
"type": "string",
"tags": [],
"label": "path",
"description": [],
"signature": [
"string"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
},
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addBatchProcessingRoute.$2",
"type": "Function",
"tags": [],
"label": "handler",
"description": [],
"signature": [
"(request: ",
{
"pluginId": "@kbn/core-http-server",
"scope": "server",
"docId": "kibKbnCoreHttpServerPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>) => ",
{
"pluginId": "bfetch",
"scope": "server",
"docId": "kibBfetchPluginApi",
"section": "def-server.BatchProcessingRouteParams",
"text": "BatchProcessingRouteParams"
},
"<BatchItemData, BatchItemResult>"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addStreamingResponseRoute",
"type": "Function",
"tags": [],
"label": "addStreamingResponseRoute",
"description": [],
"signature": [
"<Payload, Response>(path: string, params: (request: ",
{
"pluginId": "@kbn/core-http-server",
"scope": "server",
"docId": "kibKbnCoreHttpServerPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>, context: ",
{
"pluginId": "@kbn/core-http-request-handler-context-server",
"scope": "server",
"docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi",
"section": "def-server.RequestHandlerContext",
"text": "RequestHandlerContext"
},
") => ",
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.StreamingResponseHandler",
"text": "StreamingResponseHandler"
},
"<Payload, Response>, method?: \"GET\" | \"DELETE\" | \"POST\" | \"PUT\" | undefined, pluginRouter?: ",
{
"pluginId": "@kbn/core-http-server",
"scope": "server",
"docId": "kibKbnCoreHttpServerPluginApi",
"section": "def-server.IRouter",
"text": "IRouter"
},
"<",
{
"pluginId": "@kbn/core-http-request-handler-context-server",
"scope": "server",
"docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi",
"section": "def-server.RequestHandlerContext",
"text": "RequestHandlerContext"
},
"> | undefined) => void"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addStreamingResponseRoute.$1",
"type": "string",
"tags": [],
"label": "path",
"description": [],
"signature": [
"string"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
},
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addStreamingResponseRoute.$2",
"type": "Function",
"tags": [],
"label": "params",
"description": [],
"signature": [
"(request: ",
{
"pluginId": "@kbn/core-http-server",
"scope": "server",
"docId": "kibKbnCoreHttpServerPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>, context: ",
{
"pluginId": "@kbn/core-http-request-handler-context-server",
"scope": "server",
"docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi",
"section": "def-server.RequestHandlerContext",
"text": "RequestHandlerContext"
},
") => ",
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.StreamingResponseHandler",
"text": "StreamingResponseHandler"
},
"<Payload, Response>"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
},
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addStreamingResponseRoute.$3",
"type": "CompoundType",
"tags": [],
"label": "method",
"description": [],
"signature": [
"\"GET\" | \"DELETE\" | \"POST\" | \"PUT\" | undefined"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": false
},
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addStreamingResponseRoute.$4",
"type": "Object",
"tags": [],
"label": "pluginRouter",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-http-server",
"scope": "server",
"docId": "kibKbnCoreHttpServerPluginApi",
"section": "def-server.IRouter",
"text": "IRouter"
},
"<",
{
"pluginId": "@kbn/core-http-request-handler-context-server",
"scope": "server",
"docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi",
"section": "def-server.RequestHandlerContext",
"text": "RequestHandlerContext"
},
"> | undefined"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": false
}
],
"returnComment": []
}
],
"lifecycle": "setup",
"initialIsOpen": true
},
"start": {
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerStart",
"type": "Interface",
"tags": [],
"label": "BfetchServerStart",
"description": [],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [],
"lifecycle": "start",
"initialIsOpen": true
}
},
"common": {
"classes": [],
"functions": [
{
"parentPluginId": "bfetch",
"id": "def-common.appendQueryParam",
"type": "Function",
"tags": [],
"label": "appendQueryParam",
"description": [],
"signature": [
"(url: string, key: string, value: string) => string"
],
"path": "src/plugins/bfetch/common/util/query_params.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.appendQueryParam.$1",
"type": "string",
"tags": [],
"label": "url",
"description": [],
"signature": [
"string"
],
"path": "src/plugins/bfetch/common/util/query_params.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
},
{
"parentPluginId": "bfetch",
"id": "def-common.appendQueryParam.$2",
"type": "string",
"tags": [],
"label": "key",
"description": [],
"signature": [
"string"
],
"path": "src/plugins/bfetch/common/util/query_params.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
},
{
"parentPluginId": "bfetch",
"id": "def-common.appendQueryParam.$3",
"type": "string",
"tags": [],
"label": "value",
"description": [],
"signature": [
"string"
],
"path": "src/plugins/bfetch/common/util/query_params.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.createBatchedFunction",
"type": "Function",
"tags": [],
"label": "createBatchedFunction",
"description": [],
"signature": [
"<Func extends Fn, BatchEntry>(params: ",
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.BatchedFunctionParams",
"text": "BatchedFunctionParams"
},
"<Func, BatchEntry>) => [Func, ",
{
"pluginId": "@kbn/item-buffer",
"scope": "common",
"docId": "kibKbnItemBufferPluginApi",
"section": "def-common.TimedItemBuffer",
"text": "TimedItemBuffer"
},
"<BatchEntry>]"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.createBatchedFunction.$1",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.BatchedFunctionParams",
"text": "BatchedFunctionParams"
},
"<Func, BatchEntry>"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.normalizeError",
"type": "Function",
"tags": [],
"label": "normalizeError",
"description": [],
"signature": [
"<E extends ",
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
" = ",
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
">(err: any) => E"
],
"path": "src/plugins/bfetch/common/util/normalize_error.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.normalizeError.$1",
"type": "Any",
"tags": [],
"label": "err",
"description": [],
"signature": [
"any"
],
"path": "src/plugins/bfetch/common/util/normalize_error.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.removeLeadingSlash",
"type": "Function",
"tags": [],
"label": "removeLeadingSlash",
"description": [],
"signature": [
"(text: string) => string"
],
"path": "src/plugins/bfetch/common/util/remove_leading_slash.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.removeLeadingSlash.$1",
"type": "string",
"tags": [],
"label": "text",
"description": [],
"signature": [
"string"
],
"path": "src/plugins/bfetch/common/util/remove_leading_slash.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [
{
"parentPluginId": "bfetch",
"id": "def-common.BatchedFunctionParams",
"type": "Interface",
"tags": [],
"label": "BatchedFunctionParams",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.BatchedFunctionParams",
"text": "BatchedFunctionParams"
},
"<Func, BatchEntry>"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.BatchedFunctionParams.onCall",
"type": "Function",
"tags": [],
"label": "onCall",
"description": [],
"signature": [
"(...args: Parameters<Func>) => [ReturnType<Func>, BatchEntry]"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.BatchedFunctionParams.onCall.$1",
"type": "Uncategorized",
"tags": [],
"label": "args",
"description": [],
"signature": [
"Parameters<Func>"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchedFunctionParams.onBatch",
"type": "Function",
"tags": [],
"label": "onBatch",
"description": [],
"signature": [
"(items: BatchEntry[]) => void"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.BatchedFunctionParams.onBatch.$1",
"type": "Array",
"tags": [],
"label": "items",
"description": [],
"signature": [
"BatchEntry[]"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchedFunctionParams.flushOnMaxItems",
"type": "number",
"tags": [],
"label": "flushOnMaxItems",
"description": [],
"signature": [
"number | undefined"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchedFunctionParams.maxItemAge",
"type": "number",
"tags": [],
"label": "maxItemAge",
"description": [],
"signature": [
"number | undefined"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchItemWrapper",
"type": "Interface",
"tags": [],
"label": "BatchItemWrapper",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.BatchItemWrapper.compressed",
"type": "boolean",
"tags": [],
"label": "compressed",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchItemWrapper.payload",
"type": "string",
"tags": [],
"label": "payload",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchRequestData",
"type": "Interface",
"tags": [],
"label": "BatchRequestData",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.BatchRequestData",
"text": "BatchRequestData"
},
"<Item>"
],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.BatchRequestData.batch",
"type": "Array",
"tags": [],
"label": "batch",
"description": [],
"signature": [
"Item[]"
],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchResponseItem",
"type": "Interface",
"tags": [],
"label": "BatchResponseItem",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.BatchResponseItem",
"text": "BatchResponseItem"
},
"<Result, Error>"
],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.BatchResponseItem.id",
"type": "number",
"tags": [],
"label": "id",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchResponseItem.result",
"type": "Uncategorized",
"tags": [],
"label": "result",
"description": [],
"signature": [
"Result | undefined"
],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchResponseItem.error",
"type": "Uncategorized",
"tags": [],
"label": "error",
"description": [],
"signature": [
"Error | undefined"
],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.ErrorLike",
"type": "Interface",
"tags": [],
"label": "ErrorLike",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.ErrorLike.message",
"type": "string",
"tags": [],
"label": "message",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.StreamingResponseHandler",
"type": "Interface",
"tags": [],
"label": "StreamingResponseHandler",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.StreamingResponseHandler",
"text": "StreamingResponseHandler"
},
"<Payload, Response>"
],
"path": "src/plugins/bfetch/common/streaming/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.StreamingResponseHandler.getResponseStream",
"type": "Function",
"tags": [],
"label": "getResponseStream",
"description": [],
"signature": [
"(payload: Payload) => ",
"Observable",
"<Response>"
],
"path": "src/plugins/bfetch/common/streaming/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.StreamingResponseHandler.getResponseStream.$1",
"type": "Uncategorized",
"tags": [],
"label": "payload",
"description": [],
"signature": [
"Payload"
],
"path": "src/plugins/bfetch/common/streaming/types.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
}
],
"enums": [],
"misc": [
{
"parentPluginId": "bfetch",
"id": "def-common.BFETCH_ROUTE_VERSION_LATEST",
"type": "string",
"tags": [],
"label": "BFETCH_ROUTE_VERSION_LATEST",
"description": [],
"signature": [
"\"1\""
],
"path": "src/plugins/bfetch/common/constants.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.DISABLE_BFETCH",
"type": "string",
"tags": [],
"label": "DISABLE_BFETCH",
"description": [],
"signature": [
"\"bfetch:disable\""
],
"path": "src/plugins/bfetch/common/constants.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.DISABLE_BFETCH_COMPRESSION",
"type": "string",
"tags": [],
"label": "DISABLE_BFETCH_COMPRESSION",
"description": [],
"signature": [
"\"bfetch:disableCompression\""
],
"path": "src/plugins/bfetch/common/constants.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
}
],
"objects": []
}
}