kibana/api_docs/bfetch.json
Stacey Gammon 45e9d51a44
Add pluginTeam to plugin API ci stats (#115007)
* Add pluginTeam to ci stats for easier higher level groupings

* Updated docs
2021-10-14 11:54:35 -04:00

1339 lines
42 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,
"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,
"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,
"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
},
{
"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
}
],
"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,
"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,
"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,
"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,
"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,
"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,
"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,
"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,
"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,
"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": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"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,
"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,
"isRequired": true
},
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addBatchProcessingRoute.$2",
"type": "Function",
"tags": [],
"label": "handler",
"description": [],
"signature": [
"(request: ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"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,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addStreamingResponseRoute",
"type": "Function",
"tags": [],
"label": "addStreamingResponseRoute",
"description": [],
"signature": [
"<Payload, Response>(path: string, params: (request: ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>) => ",
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.StreamingResponseHandler",
"text": "StreamingResponseHandler"
},
"<Payload, Response>) => void"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": 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,
"isRequired": true
},
{
"parentPluginId": "bfetch",
"id": "def-server.BfetchServerSetup.addStreamingResponseRoute.$2",
"type": "Function",
"tags": [],
"label": "params",
"description": [],
"signature": [
"(request: ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>) => ",
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.StreamingResponseHandler",
"text": "StreamingResponseHandler"
},
"<Payload, Response>"
],
"path": "src/plugins/bfetch/server/plugin.ts",
"deprecated": false,
"isRequired": true
}
],
"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,
"children": [],
"lifecycle": "start",
"initialIsOpen": true
}
},
"common": {
"classes": [
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBuffer",
"type": "Class",
"tags": [],
"label": "ItemBuffer",
"description": [
"\nA simple buffer that collects items. Can be cleared or flushed; and can\nautomatically flush when specified number of items is reached."
],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.ItemBuffer",
"text": "ItemBuffer"
},
"<Item>"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBuffer.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBuffer.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.ItemBufferParams",
"text": "ItemBufferParams"
},
"<Item>"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBuffer.length",
"type": "number",
"tags": [],
"label": "length",
"description": [
"\nGet current buffer size."
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBuffer.write",
"type": "Function",
"tags": [],
"label": "write",
"description": [
"\nAdd item to the buffer."
],
"signature": [
"(item: Item) => void"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBuffer.write.$1",
"type": "Uncategorized",
"tags": [],
"label": "item",
"description": [],
"signature": [
"Item"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBuffer.clear",
"type": "Function",
"tags": [],
"label": "clear",
"description": [
"\nRemove all items from the buffer."
],
"signature": [
"() => void"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBuffer.flush",
"type": "Function",
"tags": [],
"label": "flush",
"description": [
"\nCall `.onflush` method and clear buffer."
],
"signature": [
"() => void"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.TimedItemBuffer",
"type": "Class",
"tags": [],
"label": "TimedItemBuffer",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.TimedItemBuffer",
"text": "TimedItemBuffer"
},
"<Item> extends ",
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.ItemBuffer",
"text": "ItemBuffer"
},
"<Item>"
],
"path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.TimedItemBuffer.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.TimedItemBuffer.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.TimedItemBufferParams",
"text": "TimedItemBufferParams"
},
"<Item>"
],
"path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-common.TimedItemBuffer.write",
"type": "Function",
"tags": [],
"label": "write",
"description": [],
"signature": [
"(item: Item) => void"
],
"path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.TimedItemBuffer.write.$1",
"type": "Uncategorized",
"tags": [],
"label": "item",
"description": [],
"signature": [
"Item"
],
"path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-common.TimedItemBuffer.clear",
"type": "Function",
"tags": [],
"label": "clear",
"description": [],
"signature": [
"() => void"
],
"path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts",
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "bfetch",
"id": "def-common.TimedItemBuffer.flush",
"type": "Function",
"tags": [],
"label": "flush",
"description": [],
"signature": [
"() => void"
],
"path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts",
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
}
],
"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,
"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,
"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,
"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,
"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": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.TimedItemBuffer",
"text": "TimedItemBuffer"
},
"<BatchEntry>]"
],
"path": "src/plugins/bfetch/common/buffer/create_batched_function.ts",
"deprecated": 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,
"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,
"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,
"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,
"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,
"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,
"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,
"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,
"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,
"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,
"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
},
{
"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
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchItemWrapper",
"type": "Interface",
"tags": [],
"label": "BatchItemWrapper",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.BatchItemWrapper.compressed",
"type": "boolean",
"tags": [],
"label": "compressed",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.BatchItemWrapper.payload",
"type": "string",
"tags": [],
"label": "payload",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": 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,
"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
}
],
"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,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.BatchResponseItem.id",
"type": "number",
"tags": [],
"label": "id",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": 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
},
{
"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
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.ErrorLike",
"type": "Interface",
"tags": [],
"label": "ErrorLike",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.ErrorLike.message",
"type": "string",
"tags": [],
"label": "message",
"description": [],
"path": "src/plugins/bfetch/common/batch.ts",
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBufferParams",
"type": "Interface",
"tags": [],
"label": "ItemBufferParams",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.ItemBufferParams",
"text": "ItemBufferParams"
},
"<Item>"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBufferParams.flushOnMaxItems",
"type": "number",
"tags": [],
"label": "flushOnMaxItems",
"description": [
"\nFlushes buffer automatically if number of items in the buffer reaches\nthis number. Omit it or set to `Infinity` to never flush on max buffer\nsize automatically."
],
"signature": [
"number | undefined"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBufferParams.onFlush",
"type": "Function",
"tags": [],
"label": "onFlush",
"description": [
"\nCallback that is called every time buffer is flushed. It receives a single\nargument which is a list of all buffered items. If `.flush()` is called\nwhen buffer is empty, `.onflush` is called with empty array."
],
"signature": [
"(items: Item[]) => void"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.ItemBufferParams.onFlush.$1",
"type": "Array",
"tags": [],
"label": "items",
"description": [],
"signature": [
"Item[]"
],
"path": "src/plugins/bfetch/common/buffer/item_buffer.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"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,
"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,
"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,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "bfetch",
"id": "def-common.TimedItemBufferParams",
"type": "Interface",
"tags": [],
"label": "TimedItemBufferParams",
"description": [],
"signature": [
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.TimedItemBufferParams",
"text": "TimedItemBufferParams"
},
"<Item> extends ",
{
"pluginId": "bfetch",
"scope": "common",
"docId": "kibBfetchPluginApi",
"section": "def-common.ItemBufferParams",
"text": "ItemBufferParams"
},
"<Item>"
],
"path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "bfetch",
"id": "def-common.TimedItemBufferParams.maxItemAge",
"type": "number",
"tags": [],
"label": "maxItemAge",
"description": [
"\nFlushes buffer when oldest item reaches age specified by this parameter,\nin milliseconds."
],
"signature": [
"number | undefined"
],
"path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts",
"deprecated": false
}
],
"initialIsOpen": false
}
],
"enums": [],
"misc": [
{
"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,
"initialIsOpen": false
}
],
"objects": []
}
}