2021-03-03 04:02:17 +01:00
{
"id" : "discover" ,
"client" : {
"classes" : [ ] ,
"functions" : [
{
"id" : "def-public.createSavedSearchesLoader" ,
"type" : "Function" ,
"label" : "createSavedSearchesLoader" ,
"signature" : [
"({ savedObjectsClient, savedObjects }: Services) => " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectLoader" ,
"text" : "SavedObjectLoader"
}
] ,
"description" : [ ] ,
"children" : [
{
"type" : "Object" ,
"label" : "{ savedObjectsClient, savedObjects }" ,
"isRequired" : true ,
"signature" : [
"Services"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/saved_searches.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 18
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/saved_searches.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 18
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"interfaces" : [
2021-03-06 02:12:28 +01:00
{
"id" : "def-public.DiscoverUrlGeneratorState" ,
"type" : "Interface" ,
"label" : "DiscoverUrlGeneratorState" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.savedSearchId" ,
"type" : "string" ,
"label" : "savedSearchId" ,
"description" : [
"\nOptionally set saved search ID."
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 26
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.indexPatternId" ,
"type" : "string" ,
"label" : "indexPatternId" ,
"description" : [
"\nOptionally set index pattern ID."
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 31
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.timeRange" ,
"type" : "Object" ,
"label" : "timeRange" ,
"description" : [
"\nOptionally set the time range in the time picker."
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 36
} ,
"signature" : [
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataQueryPluginApi" ,
"section" : "def-common.TimeRange" ,
"text" : "TimeRange"
} ,
" | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.refreshInterval" ,
"type" : "Object" ,
"label" : "refreshInterval" ,
"description" : [
"\nOptionally set the refresh interval."
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 41
} ,
"signature" : [
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataQueryPluginApi" ,
"section" : "def-common.RefreshInterval" ,
"text" : "RefreshInterval"
} ,
" | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.filters" ,
"type" : "Array" ,
"label" : "filters" ,
"description" : [
"\nOptionally apply filters."
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 46
} ,
"signature" : [
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataPluginApi" ,
"section" : "def-common.Filter" ,
"text" : "Filter"
} ,
"[] | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.query" ,
"type" : "Object" ,
"label" : "query" ,
"description" : [
"\nOptionally set a query. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has a query saved with it, this will _replace_ that query."
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 52
} ,
"signature" : [
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataQueryPluginApi" ,
"section" : "def-common.Query" ,
"text" : "Query"
} ,
" | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.useHash" ,
"type" : "CompoundType" ,
"label" : "useHash" ,
"description" : [
"\nIf not given, will use the uiSettings configuration for `storeInSessionStorage`. useHash determines\nwhether to hash the data in the url to avoid url length issues."
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 58
} ,
"signature" : [
"boolean | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.searchSessionId" ,
"type" : "string" ,
"label" : "searchSessionId" ,
"description" : [
"\nBackground search session id"
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 63
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.columns" ,
"type" : "Array" ,
"label" : "columns" ,
"description" : [
"\nColumns displayed in the table"
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 68
} ,
"signature" : [
"string[] | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.interval" ,
"type" : "string" ,
"label" : "interval" ,
"description" : [
"\nUsed interval of the histogram"
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 73
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.sort" ,
"type" : "Array" ,
"label" : "sort" ,
"description" : [
"\nArray of the used sorting [[field,direction],...]"
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 77
} ,
"signature" : [
"string[][] | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverUrlGeneratorState.savedQuery" ,
"type" : "string" ,
"label" : "savedQuery" ,
"description" : [
"\nid of the used saved query"
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 81
} ,
"signature" : [
"string | undefined"
]
}
] ,
"source" : {
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 22
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.ISearchEmbeddable" ,
"type" : "Interface" ,
"label" : "ISearchEmbeddable" ,
"signature" : [
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.ISearchEmbeddable" ,
"text" : "ISearchEmbeddable"
} ,
" extends " ,
{
"pluginId" : "embeddable" ,
"scope" : "public" ,
"docId" : "kibEmbeddablePluginApi" ,
"section" : "def-public.IEmbeddable" ,
"text" : "IEmbeddable"
} ,
"<" ,
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.SearchInput" ,
"text" : "SearchInput"
} ,
", " ,
"SearchOutput" ,
">"
] ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"id" : "def-public.ISearchEmbeddable.getSavedSearch" ,
"type" : "Function" ,
"label" : "getSavedSearch" ,
"signature" : [
"() => " ,
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.SavedSearch" ,
"text" : "SavedSearch"
}
] ,
"description" : [ ] ,
"children" : [ ] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/application/embeddable/types.ts" ,
"lineNumber" : 35
}
}
] ,
"source" : {
"path" : "src/plugins/discover/public/application/embeddable/types.ts" ,
"lineNumber" : 34
} ,
"initialIsOpen" : false
} ,
2021-03-03 04:02:17 +01:00
{
"id" : "def-public.SavedSearch" ,
"type" : "Interface" ,
"label" : "SavedSearch" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.id" ,
"type" : "string" ,
"label" : "id" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 15
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.title" ,
"type" : "string" ,
"label" : "title" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.searchSource" ,
"type" : "Object" ,
"label" : "searchSource" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 17
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataSearchPluginApi" ,
"section" : "def-common.SearchSource" ,
"text" : "SearchSource"
}
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.description" ,
"type" : "string" ,
"label" : "description" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 18
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.columns" ,
"type" : "Array" ,
"label" : "columns" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 19
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string[]"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.sort" ,
"type" : "Array" ,
"label" : "sort" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 20
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.SortOrder" ,
"text" : "SortOrder"
} ,
"[]"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.grid" ,
"type" : "Object" ,
"label" : "grid" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 21
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.DiscoverGridSettings" ,
"text" : "DiscoverGridSettings"
}
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.destroy" ,
"type" : "Function" ,
"label" : "destroy" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 22
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"() => void"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.save" ,
"type" : "Function" ,
"label" : "save" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 23
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"(saveOptions: " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectSaveOpts" ,
"text" : "SavedObjectSaveOpts"
} ,
") => Promise<string>"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.lastSavedTitle" ,
"type" : "string" ,
"label" : "lastSavedTitle" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.copyOnSave" ,
"type" : "CompoundType" ,
"label" : "copyOnSave" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 25
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"boolean | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearch.hideChart" ,
"type" : "CompoundType" ,
"label" : "hideChart" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 26
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"boolean | undefined"
]
}
] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 14
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SavedSearchLoader" ,
"type" : "Interface" ,
"label" : "SavedSearchLoader" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.SavedSearchLoader.get" ,
"type" : "Function" ,
"label" : "get" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"(id: string) => Promise<" ,
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.SavedSearch" ,
"text" : "SavedSearch"
} ,
">"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedSearchLoader.urlFor" ,
"type" : "Function" ,
"label" : "urlFor" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 30
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"(id: string) => string"
]
}
] ,
"source" : {
"path" : "src/plugins/discover/public/saved_searches/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 28
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SearchInput" ,
"type" : "Interface" ,
"label" : "SearchInput" ,
"signature" : [
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.SearchInput" ,
"text" : "SearchInput"
} ,
" extends " ,
{
"pluginId" : "embeddable" ,
"scope" : "common" ,
"docId" : "kibEmbeddablePluginApi" ,
"section" : "def-common.EmbeddableInput" ,
"text" : "EmbeddableInput"
}
2021-03-06 02:12:28 +01:00
] ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SearchInput.timeRange" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "timeRange" ,
2021-03-06 02:12:28 +01:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/discover/public/application/embeddable/types.ts" ,
"lineNumber" : 20
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataQueryPluginApi" ,
"section" : "def-common.TimeRange" ,
"text" : "TimeRange"
2021-03-06 02:12:28 +01:00
}
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SearchInput.query" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "query" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/discover/public/application/embeddable/types.ts" ,
"lineNumber" : 21
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataQueryPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-common.Query" ,
"text" : "Query"
2021-03-03 04:02:17 +01:00
} ,
" | undefined"
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SearchInput.filters" ,
2021-03-03 04:02:17 +01:00
"type" : "Array" ,
"label" : "filters" ,
2021-03-06 02:12:28 +01:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/discover/public/application/embeddable/types.ts" ,
"lineNumber" : 22
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataPluginApi" ,
"section" : "def-common.Filter" ,
"text" : "Filter"
} ,
"[] | undefined"
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SearchInput.hidePanelTitles" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
2021-03-06 02:12:28 +01:00
"label" : "hidePanelTitles" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/discover/public/application/embeddable/types.ts" ,
"lineNumber" : 23
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"boolean | undefined"
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SearchInput.columns" ,
2021-03-03 04:02:17 +01:00
"type" : "Array" ,
"label" : "columns" ,
2021-03-06 02:12:28 +01:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/discover/public/application/embeddable/types.ts" ,
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string[] | undefined"
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SearchInput.sort" ,
2021-03-03 04:02:17 +01:00
"type" : "Array" ,
"label" : "sort" ,
2021-03-06 02:12:28 +01:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/discover/public/application/embeddable/types.ts" ,
"lineNumber" : 25
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.SortOrder" ,
"text" : "SortOrder"
} ,
"[] | undefined"
2021-03-03 04:02:17 +01:00
]
}
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/discover/public/application/embeddable/types.ts" ,
"lineNumber" : 19
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"enums" : [ ] ,
"misc" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.DISCOVER_APP_URL_GENERATOR" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "DISCOVER_APP_URL_GENERATOR" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/discover/public/url_generator.ts" ,
"lineNumber" : 20
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"DISCOVER_APP_URL_GENERATOR\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SEARCH_EMBEDDABLE_TYPE" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "SEARCH_EMBEDDABLE_TYPE" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/discover/public/application/embeddable/constants.ts" ,
"lineNumber" : 9
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"search\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
}
] ,
"objects" : [ ] ,
"setup" : {
"id" : "def-public.DiscoverSetup" ,
"type" : "Interface" ,
"label" : "DiscoverSetup" ,
"description" : [ ] ,
"tags" : [
"public"
] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.DiscoverSetup.docViews" ,
"type" : "Object" ,
"label" : "docViews" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 75
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"{ addDocView(docViewRaw: " ,
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.DocViewInput" ,
"text" : "DocViewInput"
} ,
" | " ,
{
"pluginId" : "discover" ,
"scope" : "public" ,
"docId" : "kibDiscoverPluginApi" ,
"section" : "def-public.DocViewInputFn" ,
"text" : "DocViewInputFn"
} ,
"): void; }"
]
}
] ,
"source" : {
"path" : "src/plugins/discover/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 74
2021-03-03 04:02:17 +01:00
} ,
"lifecycle" : "setup" ,
"initialIsOpen" : true
} ,
"start" : {
"id" : "def-public.DiscoverStart" ,
"type" : "Interface" ,
"label" : "DiscoverStart" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.DiscoverStart.savedSearchLoader" ,
"type" : "Object" ,
"label" : "savedSearchLoader" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 86
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectLoader" ,
"text" : "SavedObjectLoader"
}
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.DiscoverStart.urlGenerator" ,
"type" : "Object" ,
"label" : "urlGenerator" ,
"description" : [
"\n`share` plugin URL generator for Discover app. Use it to generate links into\nDiscover application, example:\n\n```ts\nconst url = await plugins.discover.urlGenerator.createUrl({\n savedSearchId: '571aaf70-4c88-11e8-b3d7-01146121b73d',\n indexPatternId: 'c367b774-a4c2-11ea-bb37-0242ac130002',\n timeRange: {\n to: 'now',\n from: 'now-15m',\n mode: 'relative',\n },\n});\n```"
] ,
"source" : {
"path" : "src/plugins/discover/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 104
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "share" ,
"scope" : "public" ,
"docId" : "kibSharePluginApi" ,
"section" : "def-public.UrlGeneratorContract" ,
"text" : "UrlGeneratorContract"
} ,
"<\"DISCOVER_APP_URL_GENERATOR\"> | undefined"
]
}
] ,
"source" : {
"path" : "src/plugins/discover/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 85
2021-03-03 04:02:17 +01:00
} ,
"lifecycle" : "start" ,
"initialIsOpen" : true
}
} ,
"server" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
} ,
"common" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.AGGS_TERMS_SIZE_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "AGGS_TERMS_SIZE_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"discover:aggs:terms:size\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.CONTEXT_DEFAULT_SIZE_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "CONTEXT_DEFAULT_SIZE_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"context:defaultSize\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.CONTEXT_STEP_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "CONTEXT_STEP_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 17
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"context:step\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.CONTEXT_TIE_BREAKER_FIELDS_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "CONTEXT_TIE_BREAKER_FIELDS_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 18
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"context:tieBreakerFields\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.DEFAULT_COLUMNS_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "DEFAULT_COLUMNS_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 9
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"defaultColumns\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
"id" : "def-common.DOC_HIDE_TIME_COLUMN_SETTING" ,
"type" : "string" ,
"label" : "DOC_HIDE_TIME_COLUMN_SETTING" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 14
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"\"doc_table:hideTimeColumn\""
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.DOC_TABLE_LEGACY" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "DOC_TABLE_LEGACY" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 19
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"doc_table:legacy\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.FIELDS_LIMIT_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "FIELDS_LIMIT_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 15
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"fields:popularLimit\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.MODIFY_COLUMNS_ON_SWITCH" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "MODIFY_COLUMNS_ON_SWITCH" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 20
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"discover:modifyColumnsOnSwitch\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.SAMPLE_SIZE_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "SAMPLE_SIZE_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"discover:sampleSize\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.SEARCH_FIELDS_FROM_SOURCE" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "SEARCH_FIELDS_FROM_SOURCE" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 21
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"discover:searchFieldsFromSource\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.SEARCH_ON_PAGE_LOAD_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "SEARCH_ON_PAGE_LOAD_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 13
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"discover:searchOnPageLoad\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.SORT_DEFAULT_ORDER_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "SORT_DEFAULT_ORDER_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/discover/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 12
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"discover:sort:defaultOrder\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
}
] ,
"objects" : [ ]
}
}