* Fix the bug and update tests * update api docs * Fix tests # Conflicts: # api_docs/charts.mdx # api_docs/data.json # api_docs/data.mdx # api_docs/data_autocomplete.mdx # api_docs/data_field_formats.mdx # api_docs/data_index_patterns.mdx # api_docs/data_query.mdx # api_docs/data_search.json # api_docs/data_search.mdx # api_docs/data_ui.mdx # api_docs/deprecations_by_api.mdx # api_docs/deprecations_by_plugin.mdx # api_docs/es_ui_shared.mdx # api_docs/fleet.mdx # api_docs/reporting.json # api_docs/rule_registry.mdx # api_docs/security_solution.json # api_docs/security_solution.mdx # api_docs/timelines.json # api_docs/timelines.mdx # api_docs/visualizations.mdx
427 lines
14 KiB
JSON
427 lines
14 KiB
JSON
{
|
|
"id": "data.autocomplete",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionBasic",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "QuerySuggestionBasic",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionBasic.type",
|
|
"type": "Enum",
|
|
"tags": [],
|
|
"label": "type",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionTypes",
|
|
"text": "QuerySuggestionTypes"
|
|
}
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionBasic.description",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "description",
|
|
"description": [],
|
|
"signature": [
|
|
"string | JSX.Element | undefined"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionBasic.end",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "end",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionBasic.start",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "start",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionBasic.text",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "text",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionBasic.cursorIndex",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "cursorIndex",
|
|
"description": [],
|
|
"signature": [
|
|
"number | undefined"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionField",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "QuerySuggestionField",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionField",
|
|
"text": "QuerySuggestionField"
|
|
},
|
|
" extends ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionBasic",
|
|
"text": "QuerySuggestionBasic"
|
|
}
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionField.type",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "type",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionTypes",
|
|
"text": "QuerySuggestionTypes"
|
|
},
|
|
".Field"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionField.field",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "field",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "common",
|
|
"docId": "kibDataIndexPatternsPluginApi",
|
|
"section": "def-common.IFieldType",
|
|
"text": "IFieldType"
|
|
}
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "QuerySuggestionGetFnArgs",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs.language",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "language",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs.indexPatterns",
|
|
"type": "Array",
|
|
"tags": [],
|
|
"label": "indexPatterns",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "common",
|
|
"docId": "kibDataIndexPatternsPluginApi",
|
|
"section": "def-common.IIndexPattern",
|
|
"text": "IIndexPattern"
|
|
},
|
|
"[]"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs.query",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "query",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs.selectionStart",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "selectionStart",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs.selectionEnd",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "selectionEnd",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs.signal",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "signal",
|
|
"description": [],
|
|
"signature": [
|
|
"AbortSignal | undefined"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs.useTimeRange",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "useTimeRange",
|
|
"description": [],
|
|
"signature": [
|
|
"boolean | undefined"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs.boolFilter",
|
|
"type": "Any",
|
|
"tags": [],
|
|
"label": "boolFilter",
|
|
"description": [],
|
|
"signature": [
|
|
"any"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFnArgs.method",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "method",
|
|
"description": [],
|
|
"signature": [
|
|
"\"terms_enum\" | \"terms_agg\" | undefined"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionTypes",
|
|
"type": "Enum",
|
|
"tags": [],
|
|
"label": "QuerySuggestionTypes",
|
|
"description": [],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"misc": [
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.AutocompleteStart",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "AutocompleteStart",
|
|
"description": [],
|
|
"signature": [
|
|
"{ getQuerySuggestions: ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionGetFn",
|
|
"text": "QuerySuggestionGetFn"
|
|
},
|
|
"; hasQuerySuggestions: (language: string) => boolean; getValueSuggestions: ",
|
|
"ValueSuggestionsGetFn",
|
|
"; }"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/autocomplete_service.ts",
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestion",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "QuerySuggestion",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionBasic",
|
|
"text": "QuerySuggestionBasic"
|
|
},
|
|
" | ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionField",
|
|
"text": "QuerySuggestionField"
|
|
}
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.QuerySuggestionGetFn",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "QuerySuggestionGetFn",
|
|
"description": [],
|
|
"signature": [
|
|
"(args: ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionGetFnArgs",
|
|
"text": "QuerySuggestionGetFnArgs"
|
|
},
|
|
") => Promise<",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestion",
|
|
"text": "QuerySuggestion"
|
|
},
|
|
"[]> | undefined"
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "data",
|
|
"id": "def-public.args",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "args",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionGetFnArgs",
|
|
"text": "QuerySuggestionGetFnArgs"
|
|
}
|
|
],
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": []
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
}
|
|
} |