2021-03-03 04:02:17 +01:00
{
"id" : "globalSearch" ,
"client" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchBatchedResults" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "GlobalSearchBatchedResults" ,
"description" : [
"\nResponse returned from the {@link GlobalSearchPluginStart | global search service}'s `find` API\n"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 85
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchBatchedResults.results" ,
"type" : "Array" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "results" ,
"description" : [
"\nResults for this batch"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"GlobalSearchResult" ,
"[]"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 89
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
2021-03-06 02:12:28 +01:00
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.GlobalSearchFindOptions" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "GlobalSearchFindOptions" ,
"description" : [
"\nOptions for the server-side {@link GlobalSearchPluginStart.find | find API}"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/public/services/types.ts" ,
"lineNumber" : 13
} ,
"deprecated" : false ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.GlobalSearchFindOptions.preference" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "preference" ,
"description" : [
"\nA custom preference token associated with a search 'session' that should be used to get consistent scoring\nwhen performing calls to ES. Can also be used as a 'session' token for providers returning data from elsewhere\nthan an elasticsearch cluster.\n\nIf not specified, a random token will be generated and used. The token is stored in the sessionStorage and is guaranteed\nto be consistent during a given http 'session'"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/public/services/types.ts" ,
"lineNumber" : 22
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.GlobalSearchFindOptions.aborted$" ,
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "aborted$" ,
"description" : [
"\nOptional observable to notify that the associated `find` call should be canceled.\nIf/when provided and emitting, the result observable will be completed and no further result emission will be performed."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"Observable" ,
"<void> | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/public/services/types.ts" ,
"lineNumber" : 27
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.GlobalSearchFindParams" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "GlobalSearchFindParams" ,
"description" : [
"\nSearch parameters for the {@link GlobalSearchPluginStart.find | `find` API}\n"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 97
} ,
"deprecated" : false ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.GlobalSearchFindParams.term" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "term" ,
"description" : [
"\nThe term to search for. Can be undefined if searching by filters."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 101
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.GlobalSearchFindParams.types" ,
"type" : "Array" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "types" ,
"description" : [
"\nThe types of results to search for."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string[] | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 105
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.GlobalSearchFindParams.tags" ,
"type" : "Array" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "tags" ,
"description" : [
"\nThe tag ids to filter search by."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string[] | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 109
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
}
] ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderFindOptions" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "GlobalSearchProviderFindOptions" ,
"description" : [
"\nOptions provided to {@link GlobalSearchResultProvider | a result provider}'s `find` method."
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 14
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderFindOptions.preference" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "preference" ,
"description" : [
"\nA custom preference token associated with a search 'session' that should be used to get consistent scoring\nwhen performing calls to ES. Can also be used as a 'session' token for providers returning data from elsewhere\nthan an elasticsearch cluster."
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 20
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderFindOptions.aborted$" ,
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "aborted$" ,
"description" : [
"\nObservable that emits once if and when the `find` call has been aborted, either manually by the consumer,\nor when the internal timeout period as been reached.\n\nWhen a `find` request is effectively aborted, the service will stop emitting any new result to the consumer anyway, but\nthis can (and should) be used to cancel any pending asynchronous task and complete the result observable from within the provider."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"Observable" ,
"<void>"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 28
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderFindOptions.maxResults" ,
"type" : "number" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "maxResults" ,
"description" : [
"\nThe total maximum number of results (including all batches, not per emission) that should be returned by the provider for a given `find` request.\nAny result emitted exceeding this quota will be ignored by the service and not emitted to the consumer."
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 33
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderResult" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "GlobalSearchProviderResult" ,
"description" : [
"\nRepresentation of a result returned by a {@link GlobalSearchResultProvider | result provider}"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 44
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderResult.id" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "id" ,
"description" : [
"an id that should be unique for an individual provider's results"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 46
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderResult.title" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "title" ,
"description" : [
"the title/label of the result"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 48
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderResult.type" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "type" ,
"description" : [
"the type of result"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 50
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderResult.icon" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "icon" ,
"description" : [
"an optional EUI icon name to associate with the search result"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 52
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderResult.url" ,
"type" : "CompoundType" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "url" ,
"description" : [
"\nThe url associated with this result.\nThis can be either an absolute url, a path relative to the incoming request's basePath, or a structure specifying if the basePath should be prepended.\n"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
2021-06-07 23:55:35 +02:00
"string | { path: string; prependBasePath: boolean; }"
2021-05-06 21:29:47 +02:00
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 62
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderResult.score" ,
"type" : "number" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "score" ,
"description" : [
"the score of the result, from 1 (lowest) to 100 (highest)"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 64
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderResult.meta" ,
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "meta" ,
"description" : [
"an optional record of metadata for this result"
] ,
"signature" : [
"Record<string, " ,
2021-04-15 17:36:10 +02:00
"Serializable" ,
2021-03-03 04:02:17 +01:00
"> | undefined"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 66
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchResultProvider" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "GlobalSearchResultProvider" ,
"description" : [
"\nGlobalSearch result provider, to be registered using the {@link GlobalSearchPluginSetup | global search API}"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/public/types.ts" ,
"lineNumber" : 22
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchResultProvider.id" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "id" ,
"description" : [
"\nid of the provider"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 26
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchResultProvider.find" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "find" ,
2021-05-06 21:29:47 +02:00
"description" : [
"\nMethod that should return an observable used to emit new results from the provider.\n\nSee {@GlobalSearchProviderResult | the result type} for the expected result structure.\n"
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
"(search: " ,
2021-04-15 17:36:10 +02:00
"GlobalSearchFindParams" ,
2021-03-03 04:02:17 +01:00
", options: " ,
2021-04-15 17:36:10 +02:00
"GlobalSearchProviderFindOptions" ,
2021-03-03 04:02:17 +01:00
") => " ,
"Observable" ,
"<" ,
2021-04-15 17:36:10 +02:00
"GlobalSearchProviderResult" ,
2021-03-03 04:02:17 +01:00
"[]>"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/public/types.ts" ,
"lineNumber" : 44
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.GlobalSearchResultProvider.find.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "search" ,
2021-05-06 21:29:47 +02:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-04-15 17:36:10 +02:00
"GlobalSearchFindParams"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "x-pack/plugins/global_search/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 45
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
"isRequired" : true
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.GlobalSearchResultProvider.find.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "options" ,
2021-05-06 21:29:47 +02:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-04-15 17:36:10 +02:00
"GlobalSearchProviderFindOptions"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "x-pack/plugins/global_search/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 46
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
"isRequired" : true
2021-03-03 04:02:17 +01:00
}
] ,
2021-05-06 21:29:47 +02:00
"returnComment" : [ ]
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchResultProvider.getSearchableTypes" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "getSearchableTypes" ,
"description" : [
"\nMethod that should return all the possible {@link GlobalSearchProviderResult.type | type} of results that\nthis provider can return."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"() => string[] | Promise<string[]>"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 53
2021-03-03 04:02:17 +01:00
} ,
2021-06-07 23:55:35 +02:00
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [ ]
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
2021-03-06 02:12:28 +01:00
}
] ,
"enums" : [ ] ,
"misc" : [
2021-03-03 04:02:17 +01:00
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.GlobalSearchProviderFindParams" ,
"type" : "Type" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "GlobalSearchProviderFindParams" ,
"description" : [ ] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"GlobalSearchFindParams"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 115
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchProviderResultUrl" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "GlobalSearchProviderResultUrl" ,
2021-03-03 04:02:17 +01:00
"description" : [
"\nStructured type for the {@link GlobalSearchProviderResult.url | provider result's url property}"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | { path: string; prependBasePath: boolean; }"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 39
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchResult" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "GlobalSearchResult" ,
2021-03-03 04:02:17 +01:00
"description" : [
"\nRepresentation of a result returned by the {@link GlobalSearchPluginStart.find | `find` API}"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
2021-06-07 23:55:35 +02:00
"Pick<" ,
"GlobalSearchProviderResult" ,
", \"type\" | \"title\" | \"id\" | \"meta\" | \"icon\" | \"score\"> & { url: string; }"
2021-05-06 21:29:47 +02:00
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 72
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
}
] ,
"objects" : [ ] ,
"setup" : {
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchPluginSetup" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "GlobalSearchPluginSetup" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
2021-05-06 21:29:47 +02:00
"signature" : [
2021-06-07 23:55:35 +02:00
"{ registerResultProvider: (provider: " ,
{
"pluginId" : "globalSearch" ,
"scope" : "public" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-public.GlobalSearchResultProvider" ,
"text" : "GlobalSearchResultProvider"
} ,
") => void; }"
2021-05-06 21:29:47 +02:00
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"lifecycle" : "setup" ,
"initialIsOpen" : true
} ,
"start" : {
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.GlobalSearchPluginStart" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "GlobalSearchPluginStart" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"signature" : [
"{ find: (params: " ,
"GlobalSearchFindParams" ,
", options: " ,
{
"pluginId" : "globalSearch" ,
"scope" : "public" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-public.GlobalSearchFindOptions" ,
"text" : "GlobalSearchFindOptions"
} ,
2021-06-07 23:55:35 +02:00
") => " ,
"Observable" ,
"<" ,
2021-03-03 04:02:17 +01:00
"GlobalSearchBatchedResults" ,
">; getSearchableTypes: () => Promise<string[]>; }"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/public/types.ts" ,
"lineNumber" : 17
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"lifecycle" : "start" ,
"initialIsOpen" : true
}
} ,
"server" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchBatchedResults" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "GlobalSearchBatchedResults" ,
"description" : [
"\nResponse returned from the {@link GlobalSearchPluginStart | global search service}'s `find` API\n"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 85
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchBatchedResults.results" ,
"type" : "Array" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "results" ,
"description" : [
"\nResults for this batch"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"GlobalSearchResult" ,
"[]"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 89
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
2021-03-06 02:12:28 +01:00
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-server.GlobalSearchFindOptions" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "GlobalSearchFindOptions" ,
"description" : [
"\nOptions for the server-side {@link GlobalSearchPluginStart.find | find API}\n"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 88
} ,
"deprecated" : false ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-server.GlobalSearchFindOptions.preference" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "preference" ,
"description" : [
"\nA custom preference token associated with a search 'session' that should be used to get consistent scoring\nwhen performing calls to ES. Can also be used as a 'session' token for providers returning data from elsewhere\nthan an elasticsearch cluster.\nIf not specified, a random token will be generated and used."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 95
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-server.GlobalSearchFindOptions.aborted$" ,
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "aborted$" ,
"description" : [
"\nOptional observable to notify that the associated `find` call should be canceled.\nIf/when provided and emitting, no further result emission will be performed and the result observable will be completed."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"Observable" ,
"<void> | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 100
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-server.GlobalSearchProviderContext" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "GlobalSearchProviderContext" ,
"description" : [
"\nContext passed to server-side {@GlobalSearchResultProvider | result provider}'s `find` method.\n"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 65
} ,
"deprecated" : false ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-06 02:12:28 +01:00
"id" : "def-server.GlobalSearchProviderContext.core" ,
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "core" ,
"description" : [ ] ,
"signature" : [
"{ savedObjects: { client: Pick<" ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-server.SavedObjectsClient" ,
"text" : "SavedObjectsClient"
} ,
2021-05-20 19:22:41 +02:00
", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">; typeRegistry: Pick<" ,
2021-03-06 02:12:28 +01:00
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-server.SavedObjectTypeRegistry" ,
"text" : "SavedObjectTypeRegistry"
} ,
", \"getType\" | \"getVisibleTypes\" | \"getAllTypes\" | \"getImportableAndExportableTypes\" | \"isNamespaceAgnostic\" | \"isSingleNamespace\" | \"isMultiNamespace\" | \"isShareable\" | \"isHidden\" | \"getIndex\" | \"isImportableAndExportable\">; }; elasticsearch: { legacy: { client: Pick<" ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.LegacyScopedClusterClient" ,
"text" : "LegacyScopedClusterClient"
} ,
", \"callAsCurrentUser\" | \"callAsInternalUser\">; }; }; uiSettings: { client: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.IUiSettingsClient" ,
"text" : "IUiSettingsClient"
} ,
"; }; capabilities: " ,
2021-06-07 23:55:35 +02:00
"Observable" ,
"<" ,
"Capabilities" ,
">; }"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 66
} ,
"deprecated" : false
2021-03-06 02:12:28 +01:00
}
] ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderFindOptions" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "GlobalSearchProviderFindOptions" ,
"description" : [
"\nOptions provided to {@link GlobalSearchResultProvider | a result provider}'s `find` method."
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 14
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderFindOptions.preference" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "preference" ,
"description" : [
"\nA custom preference token associated with a search 'session' that should be used to get consistent scoring\nwhen performing calls to ES. Can also be used as a 'session' token for providers returning data from elsewhere\nthan an elasticsearch cluster."
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 20
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderFindOptions.aborted$" ,
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "aborted$" ,
"description" : [
"\nObservable that emits once if and when the `find` call has been aborted, either manually by the consumer,\nor when the internal timeout period as been reached.\n\nWhen a `find` request is effectively aborted, the service will stop emitting any new result to the consumer anyway, but\nthis can (and should) be used to cancel any pending asynchronous task and complete the result observable from within the provider."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"Observable" ,
"<void>"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 28
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderFindOptions.maxResults" ,
"type" : "number" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "maxResults" ,
"description" : [
"\nThe total maximum number of results (including all batches, not per emission) that should be returned by the provider for a given `find` request.\nAny result emitted exceeding this quota will be ignored by the service and not emitted to the consumer."
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 33
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderResult" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "GlobalSearchProviderResult" ,
"description" : [
"\nRepresentation of a result returned by a {@link GlobalSearchResultProvider | result provider}"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 44
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderResult.id" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "id" ,
"description" : [
"an id that should be unique for an individual provider's results"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 46
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderResult.title" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "title" ,
"description" : [
"the title/label of the result"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 48
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderResult.type" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "type" ,
"description" : [
"the type of result"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 50
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderResult.icon" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "icon" ,
"description" : [
"an optional EUI icon name to associate with the search result"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 52
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderResult.url" ,
"type" : "CompoundType" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "url" ,
"description" : [
"\nThe url associated with this result.\nThis can be either an absolute url, a path relative to the incoming request's basePath, or a structure specifying if the basePath should be prepended.\n"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
2021-06-07 23:55:35 +02:00
"string | { path: string; prependBasePath: boolean; }"
2021-05-06 21:29:47 +02:00
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 62
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderResult.score" ,
"type" : "number" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "score" ,
"description" : [
"the score of the result, from 1 (lowest) to 100 (highest)"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 64
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderResult.meta" ,
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "meta" ,
"description" : [
"an optional record of metadata for this result"
] ,
"signature" : [
"Record<string, " ,
2021-04-15 17:36:10 +02:00
"Serializable" ,
2021-03-03 04:02:17 +01:00
"> | undefined"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
"lineNumber" : 66
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchResultProvider" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "GlobalSearchResultProvider" ,
"description" : [
"\nGlobalSearch result provider, to be registered using the {@link GlobalSearchPluginSetup | global search API}\n"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 108
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchResultProvider.id" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "id" ,
"description" : [
"\nid of the provider"
] ,
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 112
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchResultProvider.find" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "find" ,
2021-05-06 21:29:47 +02:00
"description" : [
"\nMethod that should return an observable used to emit new results from the provider.\n\nSee {@GlobalSearchProviderResult | the result type} for the expected result structure.\n"
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
"(search: " ,
2021-04-15 17:36:10 +02:00
"GlobalSearchFindParams" ,
2021-03-03 04:02:17 +01:00
", options: " ,
2021-04-15 17:36:10 +02:00
"GlobalSearchProviderFindOptions" ,
2021-03-03 04:02:17 +01:00
", context: " ,
{
"pluginId" : "globalSearch" ,
"scope" : "server" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-server.GlobalSearchProviderContext" ,
"text" : "GlobalSearchProviderContext"
} ,
") => " ,
"Observable" ,
"<" ,
2021-06-07 23:55:35 +02:00
"GlobalSearchProviderResult" ,
"[]>"
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 130
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-04-15 17:36:10 +02:00
"id" : "def-server.GlobalSearchResultProvider.find.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "search" ,
2021-05-06 21:29:47 +02:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-04-15 17:36:10 +02:00
"GlobalSearchFindParams"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 131
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
"isRequired" : true
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-04-15 17:36:10 +02:00
"id" : "def-server.GlobalSearchResultProvider.find.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "options" ,
2021-05-06 21:29:47 +02:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-04-15 17:36:10 +02:00
"GlobalSearchProviderFindOptions"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 132
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
"isRequired" : true
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-04-15 17:36:10 +02:00
"id" : "def-server.GlobalSearchResultProvider.find.$3" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "context" ,
2021-05-06 21:29:47 +02:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"signature" : [
{
"pluginId" : "globalSearch" ,
"scope" : "server" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-server.GlobalSearchProviderContext" ,
"text" : "GlobalSearchProviderContext"
}
] ,
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 133
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
"isRequired" : true
2021-03-03 04:02:17 +01:00
}
] ,
2021-05-06 21:29:47 +02:00
"returnComment" : [ ]
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchResultProvider.getSearchableTypes" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "getSearchableTypes" ,
"description" : [
"\nMethod that should return all the possible {@link GlobalSearchProviderResult.type | type} of results that\nthis provider can return."
] ,
"signature" : [
"(context: " ,
{
"pluginId" : "globalSearch" ,
"scope" : "server" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-server.GlobalSearchProviderContext" ,
"text" : "GlobalSearchProviderContext"
} ,
") => string[] | Promise<string[]>"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 140
} ,
2021-06-07 23:55:35 +02:00
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [
{
"parentPluginId" : "globalSearch" ,
"id" : "def-server.context" ,
"type" : "Object" ,
"tags" : [ ] ,
"label" : "context" ,
"description" : [ ] ,
"signature" : [
{
"pluginId" : "globalSearch" ,
"scope" : "server" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-server.GlobalSearchProviderContext" ,
"text" : "GlobalSearchProviderContext"
}
] ,
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 140
} ,
"deprecated" : false
}
]
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.RouteHandlerGlobalSearchContext" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "RouteHandlerGlobalSearchContext" ,
"description" : [
"\nglobalSearch route handler context.\n"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 46
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.RouteHandlerGlobalSearchContext.find" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "find" ,
2021-05-06 21:29:47 +02:00
"description" : [
"\nSee {@link SearchServiceStart.find | the find API}"
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
"(params: " ,
2021-04-15 17:36:10 +02:00
"GlobalSearchFindParams" ,
2021-03-03 04:02:17 +01:00
", options: " ,
{
"pluginId" : "globalSearch" ,
"scope" : "server" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-server.GlobalSearchFindOptions" ,
"text" : "GlobalSearchFindOptions"
} ,
") => " ,
"Observable" ,
"<" ,
2021-04-15 17:36:10 +02:00
"GlobalSearchBatchedResults" ,
2021-03-03 04:02:17 +01:00
">"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 50
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-04-15 17:36:10 +02:00
"id" : "def-server.RouteHandlerGlobalSearchContext.find.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "params" ,
2021-05-06 21:29:47 +02:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-04-15 17:36:10 +02:00
"GlobalSearchFindParams"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 51
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
"isRequired" : true
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-04-15 17:36:10 +02:00
"id" : "def-server.RouteHandlerGlobalSearchContext.find.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "options" ,
2021-05-06 21:29:47 +02:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"signature" : [
{
"pluginId" : "globalSearch" ,
"scope" : "server" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-server.GlobalSearchFindOptions" ,
"text" : "GlobalSearchFindOptions"
}
] ,
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 52
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
"isRequired" : true
2021-03-03 04:02:17 +01:00
}
] ,
2021-05-06 21:29:47 +02:00
"returnComment" : [ ]
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.RouteHandlerGlobalSearchContext.getSearchableTypes" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "getSearchableTypes" ,
"description" : [
"\nSee {@link SearchServiceStart.getSearchableTypes | the getSearchableTypes API}"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"() => Promise<string[]>"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 57
2021-03-03 04:02:17 +01:00
} ,
2021-06-07 23:55:35 +02:00
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [ ]
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
}
] ,
"enums" : [ ] ,
"misc" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchProviderResultUrl" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "GlobalSearchProviderResultUrl" ,
2021-03-03 04:02:17 +01:00
"description" : [
"\nStructured type for the {@link GlobalSearchProviderResult.url | provider result's url property}"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | { path: string; prependBasePath: boolean; }"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 39
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchResult" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "GlobalSearchResult" ,
2021-03-03 04:02:17 +01:00
"description" : [
"\nRepresentation of a result returned by the {@link GlobalSearchPluginStart.find | `find` API}"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
2021-06-07 23:55:35 +02:00
"Pick<" ,
"GlobalSearchProviderResult" ,
", \"type\" | \"title\" | \"id\" | \"meta\" | \"icon\" | \"score\"> & { url: string; }"
2021-05-06 21:29:47 +02:00
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/common/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 72
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
}
] ,
"objects" : [ ] ,
"start" : {
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchPluginStart" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "GlobalSearchPluginStart" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"signature" : [
2021-06-07 23:55:35 +02:00
"{ find: (params: " ,
"GlobalSearchFindParams" ,
", options: " ,
{
"pluginId" : "globalSearch" ,
"scope" : "server" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-server.GlobalSearchFindOptions" ,
"text" : "GlobalSearchFindOptions"
} ,
", request: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "server" ,
2021-06-07 23:55:35 +02:00
"docId" : "kibCoreHttpPluginApi" ,
2021-03-03 04:02:17 +01:00
"section" : "def-server.KibanaRequest" ,
"text" : "KibanaRequest"
} ,
2021-06-07 23:55:35 +02:00
"<unknown, unknown, unknown, any>) => " ,
"Observable" ,
"<" ,
"GlobalSearchBatchedResults" ,
">; getSearchableTypes: (request: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "server" ,
2021-06-07 23:55:35 +02:00
"docId" : "kibCoreHttpPluginApi" ,
2021-03-03 04:02:17 +01:00
"section" : "def-server.KibanaRequest" ,
"text" : "KibanaRequest"
} ,
"<unknown, unknown, unknown, any>) => Promise<string[]>; }"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
"lineNumber" : 28
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"lifecycle" : "start" ,
"initialIsOpen" : true
} ,
"setup" : {
2021-05-06 21:29:47 +02:00
"parentPluginId" : "globalSearch" ,
2021-03-03 04:02:17 +01:00
"id" : "def-server.GlobalSearchPluginSetup" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "GlobalSearchPluginSetup" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
2021-05-06 21:29:47 +02:00
"signature" : [
2021-06-07 23:55:35 +02:00
"{ registerResultProvider: (provider: " ,
{
"pluginId" : "globalSearch" ,
"scope" : "server" ,
"docId" : "kibGlobalSearchPluginApi" ,
"section" : "def-server.GlobalSearchResultProvider" ,
"text" : "GlobalSearchResultProvider"
} ,
") => void; }"
2021-05-06 21:29:47 +02:00
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "x-pack/plugins/global_search/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 27
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"lifecycle" : "setup" ,
"initialIsOpen" : true
}
} ,
"common" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
}
}