kibana/api_docs/dashboard.json
Alejandro Fernández Haro 7c432e3048
[Usage Collection] Report the number of SOs per type (#99344)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-06 13:09:09 -04:00

2634 lines
87 KiB
JSON

{
"id": "dashboard",
"client": {
"classes": [
{
"id": "def-public.DashboardContainer",
"type": "Class",
"tags": [],
"label": "DashboardContainer",
"description": [],
"signature": [
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainer",
"text": "DashboardContainer"
},
" extends ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.Container",
"text": "Container"
},
"<",
"InheritedChildInput",
", ",
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainerInput",
"text": "DashboardContainerInput"
},
", ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.ContainerOutput",
"text": "ContainerOutput"
}
],
"children": [
{
"tags": [],
"id": "def-public.DashboardContainer.type",
"type": "string",
"label": "type",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 104
},
"signature": [
"\"dashboard\""
]
},
{
"tags": [],
"id": "def-public.DashboardContainer.switchViewMode",
"type": "Function",
"label": "switchViewMode",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 105
},
"signature": [
"((newViewMode: ",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.ViewMode",
"text": "ViewMode"
},
") => void) | undefined"
]
},
{
"id": "def-public.DashboardContainer.getPanelCount",
"type": "Function",
"children": [],
"signature": [
"() => number"
],
"description": [],
"label": "getPanelCount",
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 107
},
"tags": [],
"returnComment": []
},
{
"id": "def-public.DashboardContainer.Unnamed",
"type": "Function",
"label": "Constructor",
"signature": [
"any"
],
"description": [],
"children": [
{
"id": "def-public.DashboardContainer.Unnamed.$1",
"type": "Object",
"label": "initialInput",
"isRequired": true,
"signature": [
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainerInput",
"text": "DashboardContainerInput"
}
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 112
}
},
{
"id": "def-public.DashboardContainer.Unnamed.$2",
"type": "Object",
"label": "services",
"isRequired": true,
"signature": [
"DashboardContainerServices"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 113
}
},
{
"id": "def-public.DashboardContainer.Unnamed.$3",
"type": "Object",
"label": "parent",
"isRequired": false,
"signature": [
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.Container",
"text": "Container"
},
"<{}, ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.ContainerInput",
"text": "ContainerInput"
},
"<{}>, ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.ContainerOutput",
"text": "ContainerOutput"
},
"> | undefined"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 114
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 111
}
},
{
"id": "def-public.DashboardContainer.createNewPanelState",
"type": "Function",
"label": "createNewPanelState",
"signature": [
"<TEmbeddableInput extends ",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableInput",
"text": "EmbeddableInput"
},
", TEmbeddable extends ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.IEmbeddable",
"text": "IEmbeddable"
},
"<TEmbeddableInput, any>>(factory: ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.EmbeddableFactory",
"text": "EmbeddableFactory"
},
"<TEmbeddableInput, any, TEmbeddable, ",
"SavedObjectAttributes",
">, partial?: Partial<TEmbeddableInput>) => ",
"DashboardPanelState"
],
"description": [],
"children": [
{
"id": "def-public.DashboardContainer.createNewPanelState.$1",
"type": "Object",
"label": "factory",
"isRequired": true,
"signature": [
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.EmbeddableFactory",
"text": "EmbeddableFactory"
},
"<TEmbeddableInput, any, TEmbeddable, ",
"SavedObjectAttributes",
">"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 131
}
},
{
"id": "def-public.DashboardContainer.createNewPanelState.$2",
"type": "Object",
"label": "partial",
"isRequired": true,
"signature": [
"Partial<TEmbeddableInput>"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 132
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 127
}
},
{
"id": "def-public.DashboardContainer.showPlaceholderUntil",
"type": "Function",
"label": "showPlaceholderUntil",
"signature": [
"<TPlacementMethodArgs extends ",
"IPanelPlacementArgs",
">(newStateComplete: Promise<Partial<",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.PanelState",
"text": "PanelState"
},
"<{ id: string; }>>>, placementMethod?: ",
"PanelPlacementMethod",
"<TPlacementMethodArgs> | undefined, placementArgs?: TPlacementMethodArgs | undefined) => void"
],
"description": [],
"children": [
{
"id": "def-public.DashboardContainer.showPlaceholderUntil.$1",
"type": "Object",
"label": "newStateComplete",
"isRequired": true,
"signature": [
"Promise<Partial<",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.PanelState",
"text": "PanelState"
},
"<{ id: string; }>>>"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 139
}
},
{
"id": "def-public.DashboardContainer.showPlaceholderUntil.$2",
"type": "Function",
"label": "placementMethod",
"isRequired": false,
"signature": [
"PanelPlacementMethod",
"<TPlacementMethodArgs> | undefined"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 140
}
},
{
"id": "def-public.DashboardContainer.showPlaceholderUntil.$3",
"type": "Uncategorized",
"label": "placementArgs",
"isRequired": false,
"signature": [
"TPlacementMethodArgs | undefined"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 141
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 138
}
},
{
"id": "def-public.DashboardContainer.replacePanel",
"type": "Function",
"label": "replacePanel",
"signature": [
"(previousPanelState: ",
"DashboardPanelState",
"<",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableInput",
"text": "EmbeddableInput"
},
">, newPanelState: Partial<",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.PanelState",
"text": "PanelState"
},
"<{ id: string; }>>, generateNewId?: boolean | undefined) => void"
],
"description": [],
"children": [
{
"id": "def-public.DashboardContainer.replacePanel.$1",
"type": "Object",
"label": "previousPanelState",
"isRequired": true,
"signature": [
"DashboardPanelState",
"<",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableInput",
"text": "EmbeddableInput"
},
">"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 180
}
},
{
"id": "def-public.DashboardContainer.replacePanel.$2",
"type": "Object",
"label": "newPanelState",
"isRequired": true,
"signature": [
"Partial<",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.PanelState",
"text": "PanelState"
},
"<{ id: string; }>>"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 181
}
},
{
"id": "def-public.DashboardContainer.replacePanel.$3",
"type": "CompoundType",
"label": "generateNewId",
"isRequired": false,
"signature": [
"boolean | undefined"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 182
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 179
}
},
{
"id": "def-public.DashboardContainer.addOrUpdateEmbeddable",
"type": "Function",
"label": "addOrUpdateEmbeddable",
"signature": [
"<EEI extends ",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableInput",
"text": "EmbeddableInput"
},
" = ",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableInput",
"text": "EmbeddableInput"
},
", EEO extends ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.EmbeddableOutput",
"text": "EmbeddableOutput"
},
" = ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.EmbeddableOutput",
"text": "EmbeddableOutput"
},
", E extends ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.IEmbeddable",
"text": "IEmbeddable"
}
],
"description": [],
"children": [
{
"id": "def-public.DashboardContainer.addOrUpdateEmbeddable.$1",
"type": "string",
"label": "type",
"isRequired": true,
"signature": [
"string"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 230
}
},
{
"id": "def-public.DashboardContainer.addOrUpdateEmbeddable.$2",
"type": "Object",
"label": "explicitInput",
"isRequired": true,
"signature": [
"Partial<EEI>"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 230
}
},
{
"id": "def-public.DashboardContainer.addOrUpdateEmbeddable.$3",
"type": "string",
"label": "embeddableId",
"isRequired": false,
"signature": [
"string | undefined"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 230
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 226
}
},
{
"id": "def-public.DashboardContainer.render",
"type": "Function",
"label": "render",
"signature": [
"(dom: HTMLElement) => void"
],
"description": [],
"children": [
{
"id": "def-public.DashboardContainer.render.$1",
"type": "Object",
"label": "dom",
"isRequired": true,
"signature": [
"HTMLElement"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 244
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 244
}
},
{
"id": "def-public.DashboardContainer.getInheritedInput",
"type": "Function",
"label": "getInheritedInput",
"signature": [
"(id: string) => ",
"InheritedChildInput"
],
"description": [],
"children": [
{
"id": "def-public.DashboardContainer.getInheritedInput.$1",
"type": "string",
"label": "id",
"isRequired": true,
"signature": [
"string"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 255
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 255
}
}
],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 103
},
"initialIsOpen": false
},
{
"id": "def-public.DashboardContainerFactoryDefinition",
"type": "Class",
"tags": [],
"label": "DashboardContainerFactoryDefinition",
"description": [],
"signature": [
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainerFactoryDefinition",
"text": "DashboardContainerFactoryDefinition"
},
" implements ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.EmbeddableFactoryDefinition",
"text": "EmbeddableFactoryDefinition"
},
"<",
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainerInput",
"text": "DashboardContainerInput"
},
", ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.ContainerOutput",
"text": "ContainerOutput"
},
", ",
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainer",
"text": "DashboardContainer"
}
],
"children": [
{
"tags": [],
"id": "def-public.DashboardContainerFactoryDefinition.isContainerType",
"type": "boolean",
"label": "isContainerType",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 37
},
"signature": [
"true"
]
},
{
"tags": [],
"id": "def-public.DashboardContainerFactoryDefinition.type",
"type": "string",
"label": "type",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 38
},
"signature": [
"\"dashboard\""
]
},
{
"id": "def-public.DashboardContainerFactoryDefinition.Unnamed",
"type": "Function",
"label": "Constructor",
"signature": [
"any"
],
"description": [],
"children": [
{
"id": "def-public.DashboardContainerFactoryDefinition.Unnamed.$1",
"type": "Function",
"label": "getStartServices",
"isRequired": true,
"signature": [
"() => Promise<",
"DashboardContainerServices",
">"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 41
}
},
{
"id": "def-public.DashboardContainerFactoryDefinition.Unnamed.$2",
"type": "Object",
"label": "persistableStateService",
"isRequired": true,
"signature": [
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddablePersistableStateService",
"text": "EmbeddablePersistableStateService"
}
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 42
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 40
}
},
{
"id": "def-public.DashboardContainerFactoryDefinition.isEditable",
"type": "Function",
"children": [],
"signature": [
"() => Promise<boolean>"
],
"description": [],
"label": "isEditable",
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 45
},
"tags": [],
"returnComment": []
},
{
"id": "def-public.DashboardContainerFactoryDefinition.getDisplayName",
"type": "Function",
"children": [],
"signature": [
"() => string"
],
"description": [],
"label": "getDisplayName",
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 50
},
"tags": [],
"returnComment": []
},
{
"id": "def-public.DashboardContainerFactoryDefinition.getDefaultInput",
"type": "Function",
"label": "getDefaultInput",
"signature": [
"() => Partial<",
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainerInput",
"text": "DashboardContainerInput"
},
">"
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 56
}
},
{
"id": "def-public.DashboardContainerFactoryDefinition.create",
"type": "Function",
"children": [
{
"id": "def-public.DashboardContainerFactoryDefinition.create.$1",
"type": "Object",
"label": "initialInput",
"isRequired": true,
"signature": [
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainerInput",
"text": "DashboardContainerInput"
}
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 67
}
},
{
"id": "def-public.DashboardContainerFactoryDefinition.create.$2",
"type": "Object",
"label": "parent",
"isRequired": false,
"signature": [
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.Container",
"text": "Container"
},
"<{}, ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.ContainerInput",
"text": "ContainerInput"
},
"<{}>, ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.ContainerOutput",
"text": "ContainerOutput"
},
"> | undefined"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 68
}
}
],
"signature": [
"(initialInput: ",
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainerInput",
"text": "DashboardContainerInput"
},
", parent?: ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.Container",
"text": "Container"
},
"<{}, ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.ContainerInput",
"text": "ContainerInput"
},
"<{}>, ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.ContainerOutput",
"text": "ContainerOutput"
},
"> | undefined) => Promise<",
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainer",
"text": "DashboardContainer"
}
],
"description": [],
"label": "create",
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 66
},
"tags": [],
"returnComment": []
},
{
"tags": [],
"id": "def-public.DashboardContainerFactoryDefinition.inject",
"type": "Function",
"label": "inject",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 74
},
"signature": [
"(state: ",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableStateWithType",
"text": "EmbeddableStateWithType"
},
", references: ",
"SavedObjectReference",
"[]) => ",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableStateWithType",
"text": "EmbeddableStateWithType"
}
]
},
{
"tags": [],
"id": "def-public.DashboardContainerFactoryDefinition.extract",
"type": "Function",
"label": "extract",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 76
},
"signature": [
"(state: ",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableStateWithType",
"text": "EmbeddableStateWithType"
},
") => { state: ",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableStateWithType",
"text": "EmbeddableStateWithType"
},
"; references: ",
"SavedObjectReference",
"[]; }"
]
}
],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx",
"lineNumber": 34
},
"initialIsOpen": false
}
],
"functions": [
{
"id": "def-public.createDashboardEditUrl",
"type": "Function",
"label": "createDashboardEditUrl",
"signature": [
"(id: string | undefined, editMode: boolean | undefined) => string"
],
"description": [],
"children": [
{
"id": "def-public.createDashboardEditUrl.$1",
"type": "string",
"label": "id",
"isRequired": false,
"signature": [
"string | undefined"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 22
}
},
{
"id": "def-public.createDashboardEditUrl.$2",
"type": "CompoundType",
"label": "editMode",
"isRequired": false,
"signature": [
"boolean | undefined"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 22
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 22
},
"initialIsOpen": false
},
{
"id": "def-public.createDashboardUrlGenerator",
"type": "Function",
"children": [
{
"id": "def-public.createDashboardUrlGenerator.$1",
"type": "Function",
"label": "getStartServices",
"isRequired": true,
"signature": [
"() => Promise<{ appBasePath: string; useHashedUrl: boolean; savedDashboardLoader: ",
{
"pluginId": "savedObjects",
"scope": "public",
"docId": "kibSavedObjectsPluginApi",
"section": "def-public.SavedObjectLoader",
"text": "SavedObjectLoader"
},
"; }>"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 92
}
}
],
"signature": [
"(getStartServices: () => Promise<{ appBasePath: string; useHashedUrl: boolean; savedDashboardLoader: ",
{
"pluginId": "savedObjects",
"scope": "public",
"docId": "kibSavedObjectsPluginApi",
"section": "def-public.SavedObjectLoader",
"text": "SavedObjectLoader"
},
"; }>) => ",
{
"pluginId": "share",
"scope": "public",
"docId": "kibSharePluginApi",
"section": "def-public.UrlGeneratorsDefinition",
"text": "UrlGeneratorsDefinition"
},
"<\"DASHBOARD_APP_URL_GENERATOR\">"
],
"description": [],
"label": "createDashboardUrlGenerator",
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 91
},
"tags": [],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [
{
"id": "def-public.DashboardContainerInput",
"type": "Interface",
"label": "DashboardContainerInput",
"signature": [
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardContainerInput",
"text": "DashboardContainerInput"
},
" extends ",
{
"pluginId": "embeddable",
"scope": "public",
"docId": "kibEmbeddablePluginApi",
"section": "def-public.ContainerInput",
"text": "ContainerInput"
},
"<{}>"
],
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.DashboardContainerInput.dashboardCapabilities",
"type": "Object",
"label": "dashboardCapabilities",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 43
},
"signature": [
"DashboardCapabilities",
" | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.refreshConfig",
"type": "Object",
"label": "refreshConfig",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 44
},
"signature": [
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.RefreshInterval",
"text": "RefreshInterval"
},
" | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.isEmbeddedExternally",
"type": "CompoundType",
"label": "isEmbeddedExternally",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 45
},
"signature": [
"boolean | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.isFullScreenMode",
"type": "boolean",
"label": "isFullScreenMode",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 46
}
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.expandedPanelId",
"type": "string",
"label": "expandedPanelId",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 47
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.timeRange",
"type": "Object",
"label": "timeRange",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 48
},
"signature": [
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.TimeRange",
"text": "TimeRange"
}
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.description",
"type": "string",
"label": "description",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 49
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.useMargins",
"type": "boolean",
"label": "useMargins",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 50
}
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.syncColors",
"type": "CompoundType",
"label": "syncColors",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 51
},
"signature": [
"boolean | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.viewMode",
"type": "Enum",
"label": "viewMode",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 52
},
"signature": [
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.ViewMode",
"text": "ViewMode"
}
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.filters",
"type": "Array",
"label": "filters",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 53
},
"signature": [
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataPluginApi",
"section": "def-common.Filter",
"text": "Filter"
},
"[]"
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.title",
"type": "string",
"label": "title",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 54
}
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.query",
"type": "Object",
"label": "query",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 55
},
"signature": [
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.Query",
"text": "Query"
}
]
},
{
"tags": [],
"id": "def-public.DashboardContainerInput.panels",
"type": "Object",
"label": "panels",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 56
},
"signature": [
"{ [panelId: string]: ",
"DashboardPanelState",
"<",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableInput",
"text": "EmbeddableInput"
},
" & { [k: string]: unknown; }>; }"
]
}
],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx",
"lineNumber": 42
},
"initialIsOpen": false
},
{
"id": "def-public.DashboardFeatureFlagConfig",
"type": "Interface",
"label": "DashboardFeatureFlagConfig",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.DashboardFeatureFlagConfig.allowByValueEmbeddables",
"type": "boolean",
"label": "allowByValueEmbeddables",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/plugin.tsx",
"lineNumber": 92
}
}
],
"source": {
"path": "src/plugins/dashboard/public/plugin.tsx",
"lineNumber": 91
},
"initialIsOpen": false
},
{
"id": "def-public.DashboardSavedObject",
"type": "Interface",
"label": "DashboardSavedObject",
"signature": [
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardSavedObject",
"text": "DashboardSavedObject"
},
" extends ",
{
"pluginId": "savedObjects",
"scope": "public",
"docId": "kibSavedObjectsPluginApi",
"section": "def-public.SavedObject",
"text": "SavedObject"
}
],
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.DashboardSavedObject.id",
"type": "string",
"label": "id",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 19
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.timeRestore",
"type": "boolean",
"label": "timeRestore",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 20
}
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.timeTo",
"type": "string",
"label": "timeTo",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 21
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.timeFrom",
"type": "string",
"label": "timeFrom",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 22
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.description",
"type": "string",
"label": "description",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 23
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.panelsJSON",
"type": "string",
"label": "panelsJSON",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 24
}
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.optionsJSON",
"type": "string",
"label": "optionsJSON",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 25
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.uiStateJSON",
"type": "string",
"label": "uiStateJSON",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 27
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.lastSavedTitle",
"type": "string",
"label": "lastSavedTitle",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 28
}
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.refreshInterval",
"type": "Object",
"label": "refreshInterval",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 29
},
"signature": [
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.RefreshInterval",
"text": "RefreshInterval"
},
" | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.searchSource",
"type": "Object",
"label": "searchSource",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 30
},
"signature": [
"Pick<",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataSearchPluginApi",
"section": "def-common.SearchSource",
"text": "SearchSource"
},
", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\">"
]
},
{
"id": "def-public.DashboardSavedObject.getQuery",
"type": "Function",
"label": "getQuery",
"signature": [
"() => ",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.Query",
"text": "Query"
}
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 31
}
},
{
"id": "def-public.DashboardSavedObject.getFilters",
"type": "Function",
"label": "getFilters",
"signature": [
"() => ",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataPluginApi",
"section": "def-common.Filter",
"text": "Filter"
},
"[]"
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 32
}
},
{
"tags": [],
"id": "def-public.DashboardSavedObject.getFullEditPath",
"type": "Function",
"label": "getFullEditPath",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 33
},
"signature": [
"(editMode?: boolean | undefined) => string"
]
}
],
"source": {
"path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts",
"lineNumber": 18
},
"initialIsOpen": false
},
{
"id": "def-public.DashboardUrlGeneratorState",
"type": "Interface",
"label": "DashboardUrlGeneratorState",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.dashboardId",
"type": "string",
"label": "dashboardId",
"description": [
"\nIf given, the dashboard saved object with this id will be loaded. If not given,\na new, unsaved dashboard will be loaded up."
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 34
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.timeRange",
"type": "Object",
"label": "timeRange",
"description": [
"\nOptionally set the time range in the time picker."
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 38
},
"signature": [
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.TimeRange",
"text": "TimeRange"
},
" | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.refreshInterval",
"type": "Object",
"label": "refreshInterval",
"description": [
"\nOptionally set the refresh interval."
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 43
},
"signature": [
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.RefreshInterval",
"text": "RefreshInterval"
},
" | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.filters",
"type": "Array",
"label": "filters",
"description": [
"\nOptionally apply filers. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has filters saved with it, this will _replace_ those filters."
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 49
},
"signature": [
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataPluginApi",
"section": "def-common.Filter",
"text": "Filter"
},
"[] | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.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/dashboard/public/url_generator.ts",
"lineNumber": 54
},
"signature": [
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.Query",
"text": "Query"
},
" | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.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/dashboard/public/url_generator.ts",
"lineNumber": 59
},
"signature": [
"boolean | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.preserveSavedFilters",
"type": "CompoundType",
"label": "preserveSavedFilters",
"description": [
"\nWhen `true` filters from saved filters from destination dashboard as merged with applied filters\nWhen `false` applied filters take precedence and override saved filters\n\ntrue is default"
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 67
},
"signature": [
"boolean | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.viewMode",
"type": "CompoundType",
"label": "viewMode",
"description": [
"\nView mode of the dashboard."
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 72
},
"signature": [
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.ViewMode",
"text": "ViewMode"
},
" | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.searchSessionId",
"type": "string",
"label": "searchSessionId",
"description": [
"\nSearch search session ID to restore.\n(Background search)"
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 78
},
"signature": [
"string | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.panels",
"type": "Array",
"label": "panels",
"description": [
"\nList of dashboard panels"
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 83
},
"signature": [
{
"pluginId": "dashboard",
"scope": "common",
"docId": "kibDashboardPluginApi",
"section": "def-common.SavedDashboardPanel730ToLatest",
"text": "SavedDashboardPanel730ToLatest"
},
"[] | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardUrlGeneratorState.savedQuery",
"type": "string",
"label": "savedQuery",
"description": [
"\nSaved query ID"
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 88
},
"signature": [
"string | undefined"
]
}
],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 29
},
"initialIsOpen": false
}
],
"enums": [],
"misc": [
{
"tags": [],
"id": "def-public.DASHBOARD_APP_URL_GENERATOR",
"type": "string",
"label": "DASHBOARD_APP_URL_GENERATOR",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/url_generator.ts",
"lineNumber": 27
},
"signature": [
"\"DASHBOARD_APP_URL_GENERATOR\""
],
"initialIsOpen": false
},
{
"tags": [],
"id": "def-public.DASHBOARD_CONTAINER_TYPE",
"type": "string",
"label": "DASHBOARD_CONTAINER_TYPE",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/application/embeddable/dashboard_constants.ts",
"lineNumber": 13
},
"signature": [
"\"dashboard\""
],
"initialIsOpen": false
},
{
"id": "def-public.DashboardUrlGenerator",
"type": "Type",
"label": "DashboardUrlGenerator",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/plugin.tsx",
"lineNumber": 89
},
"signature": [
"UrlGeneratorContract<\"DASHBOARD_APP_URL_GENERATOR\">"
],
"initialIsOpen": false
},
{
"id": "def-public.SavedDashboardPanel",
"type": "Type",
"label": "SavedDashboardPanel",
"tags": [],
"description": [
"\nThis should always represent the latest dashboard panel shape, after all possible migrations."
],
"source": {
"path": "src/plugins/dashboard/common/types.ts",
"lineNumber": 38
},
"signature": [
"Pick<RawSavedDashboardPanel730ToLatest, \"type\" | \"title\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\" | \"panelRefName\"> & { readonly id?: string | undefined; readonly type: string; }"
],
"initialIsOpen": false
}
],
"objects": [
{
"id": "def-public.DashboardConstants",
"type": "Object",
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.DashboardConstants.LANDING_PAGE_PATH",
"type": "string",
"label": "LANDING_PAGE_PATH",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 12
}
},
{
"tags": [],
"id": "def-public.DashboardConstants.CREATE_NEW_DASHBOARD_URL",
"type": "string",
"label": "CREATE_NEW_DASHBOARD_URL",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 13
}
},
{
"tags": [],
"id": "def-public.DashboardConstants.VIEW_DASHBOARD_URL",
"type": "string",
"label": "VIEW_DASHBOARD_URL",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 14
}
},
{
"tags": [],
"id": "def-public.DashboardConstants.ADD_EMBEDDABLE_ID",
"type": "string",
"label": "ADD_EMBEDDABLE_ID",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 15
}
},
{
"tags": [],
"id": "def-public.DashboardConstants.ADD_EMBEDDABLE_TYPE",
"type": "string",
"label": "ADD_EMBEDDABLE_TYPE",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 16
}
},
{
"tags": [],
"id": "def-public.DashboardConstants.DASHBOARDS_ID",
"type": "string",
"label": "DASHBOARDS_ID",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 17
}
},
{
"tags": [],
"id": "def-public.DashboardConstants.DASHBOARD_ID",
"type": "string",
"label": "DASHBOARD_ID",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 18
}
},
{
"tags": [],
"id": "def-public.DashboardConstants.SEARCH_SESSION_ID",
"type": "string",
"label": "SEARCH_SESSION_ID",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 19
}
}
],
"description": [],
"label": "DashboardConstants",
"source": {
"path": "src/plugins/dashboard/public/dashboard_constants.ts",
"lineNumber": 11
},
"initialIsOpen": false
}
],
"setup": {
"id": "def-public.DashboardSetup",
"type": "Type",
"label": "DashboardSetup",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/public/plugin.tsx",
"lineNumber": 123
},
"signature": [
"void"
],
"lifecycle": "setup",
"initialIsOpen": true
},
"start": {
"id": "def-public.DashboardStart",
"type": "Interface",
"label": "DashboardStart",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.DashboardStart.getSavedDashboardLoader",
"type": "Function",
"label": "getSavedDashboardLoader",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/plugin.tsx",
"lineNumber": 126
},
"signature": [
"() => ",
{
"pluginId": "savedObjects",
"scope": "public",
"docId": "kibSavedObjectsPluginApi",
"section": "def-public.SavedObjectLoader",
"text": "SavedObjectLoader"
}
]
},
{
"tags": [],
"id": "def-public.DashboardStart.getDashboardContainerByValueRenderer",
"type": "Function",
"label": "getDashboardContainerByValueRenderer",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/plugin.tsx",
"lineNumber": 127
},
"signature": [
"() => React.FC<Props>"
]
},
{
"tags": [],
"id": "def-public.DashboardStart.dashboardUrlGenerator",
"type": "Object",
"label": "dashboardUrlGenerator",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/plugin.tsx",
"lineNumber": 130
},
"signature": [
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardUrlGenerator",
"text": "DashboardUrlGenerator"
},
" | undefined"
]
},
{
"tags": [],
"id": "def-public.DashboardStart.dashboardFeatureFlagConfig",
"type": "Object",
"label": "dashboardFeatureFlagConfig",
"description": [],
"source": {
"path": "src/plugins/dashboard/public/plugin.tsx",
"lineNumber": 131
},
"signature": [
{
"pluginId": "dashboard",
"scope": "public",
"docId": "kibDashboardPluginApi",
"section": "def-public.DashboardFeatureFlagConfig",
"text": "DashboardFeatureFlagConfig"
}
]
}
],
"source": {
"path": "src/plugins/dashboard/public/plugin.tsx",
"lineNumber": 125
},
"lifecycle": "start",
"initialIsOpen": true
}
},
"server": {
"classes": [],
"functions": [
{
"id": "def-server.findByValueEmbeddables",
"type": "Function",
"children": [
{
"id": "def-server.findByValueEmbeddables.$1",
"type": "Object",
"label": "savedObjectClient",
"isRequired": true,
"signature": [
"Pick<Pick<",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreSavedObjectsPluginApi",
"section": "def-server.SavedObjectsRepository",
"text": "SavedObjectsRepository"
},
", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"deleteByNamespace\" | \"find\" | \"bulkGet\" | \"resolve\" | \"update\" | \"addToNamespaces\" | \"deleteFromNamespaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"incrementCounter\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\">, \"find\">"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts",
"lineNumber": 13
}
},
{
"id": "def-server.findByValueEmbeddables.$2",
"type": "string",
"label": "embeddableType",
"isRequired": true,
"signature": [
"string"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts",
"lineNumber": 14
}
}
],
"signature": [
"(savedObjectClient: Pick<Pick<",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreSavedObjectsPluginApi",
"section": "def-server.SavedObjectsRepository",
"text": "SavedObjectsRepository"
},
", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"deleteByNamespace\" | \"find\" | \"bulkGet\" | \"resolve\" | \"update\" | \"addToNamespaces\" | \"deleteFromNamespaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"incrementCounter\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\">, \"find\">, embeddableType: string) => Promise<{ [key: string]: unknown; }[]>"
],
"description": [],
"label": "findByValueEmbeddables",
"source": {
"path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts",
"lineNumber": 12
},
"tags": [],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [],
"enums": [],
"misc": [],
"objects": [],
"setup": {
"id": "def-server.DashboardPluginSetup",
"type": "Interface",
"label": "DashboardPluginSetup",
"description": [],
"tags": [],
"children": [],
"source": {
"path": "src/plugins/dashboard/server/types.ts",
"lineNumber": 10
},
"lifecycle": "setup",
"initialIsOpen": true
},
"start": {
"id": "def-server.DashboardPluginStart",
"type": "Interface",
"label": "DashboardPluginStart",
"description": [],
"tags": [],
"children": [],
"source": {
"path": "src/plugins/dashboard/server/types.ts",
"lineNumber": 12
},
"lifecycle": "start",
"initialIsOpen": true
}
},
"common": {
"classes": [],
"functions": [
{
"id": "def-common.migratePanelsTo730",
"type": "Function",
"label": "migratePanelsTo730",
"signature": [
"(panels: (",
"RawSavedDashboardPanelTo60",
" | ",
"RawSavedDashboardPanel610",
" | ",
"RawSavedDashboardPanel620",
" | Pick<",
"RawSavedDashboardPanel620",
", \"title\" | \"panelIndex\" | \"name\" | \"gridData\" | \"version\" | \"embeddableConfig\"> | ",
{
"pluginId": "dashboard",
"scope": "common",
"docId": "kibDashboardPluginApi",
"section": "def-common.SavedDashboardPanelTo60",
"text": "SavedDashboardPanelTo60"
}
],
"description": [],
"children": [
{
"id": "def-common.migratePanelsTo730.$1",
"type": "Array",
"label": "panels",
"isRequired": true,
"signature": [
"(",
"RawSavedDashboardPanelTo60",
" | ",
"RawSavedDashboardPanel610",
" | ",
"RawSavedDashboardPanel620",
" | Pick<",
"RawSavedDashboardPanel620",
", \"title\" | \"panelIndex\" | \"name\" | \"gridData\" | \"version\" | \"embeddableConfig\"> | ",
{
"pluginId": "dashboard",
"scope": "common",
"docId": "kibDashboardPluginApi",
"section": "def-common.SavedDashboardPanelTo60",
"text": "SavedDashboardPanelTo60"
}
],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/migrate_to_730_panels.ts",
"lineNumber": 262
}
},
{
"id": "def-common.migratePanelsTo730.$2",
"type": "string",
"label": "version",
"isRequired": true,
"signature": [
"string"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/migrate_to_730_panels.ts",
"lineNumber": 274
}
},
{
"id": "def-common.migratePanelsTo730.$3",
"type": "boolean",
"label": "useMargins",
"isRequired": true,
"signature": [
"boolean"
],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/migrate_to_730_panels.ts",
"lineNumber": 275
}
},
{
"id": "def-common.migratePanelsTo730.$4.uiState",
"type": "Object",
"label": "uiState",
"tags": [],
"description": [],
"children": [
{
"id": "def-common.migratePanelsTo730.$4.uiState.Unnamed",
"type": "Any",
"label": "Unnamed",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/migrate_to_730_panels.ts",
"lineNumber": 276
},
"signature": [
"any"
]
}
],
"source": {
"path": "src/plugins/dashboard/common/migrate_to_730_panels.ts",
"lineNumber": 276
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dashboard/common/migrate_to_730_panels.ts",
"lineNumber": 261
},
"initialIsOpen": false
}
],
"interfaces": [
{
"id": "def-common.DashboardContainerStateWithType",
"type": "Interface",
"label": "DashboardContainerStateWithType",
"signature": [
{
"pluginId": "dashboard",
"scope": "common",
"docId": "kibDashboardPluginApi",
"section": "def-common.DashboardContainerStateWithType",
"text": "DashboardContainerStateWithType"
},
" extends ",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableStateWithType",
"text": "EmbeddableStateWithType"
}
],
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-common.DashboardContainerStateWithType.panels",
"type": "Object",
"label": "panels",
"description": [],
"source": {
"path": "src/plugins/dashboard/common/types.ts",
"lineNumber": 92
},
"signature": [
"{ [panelId: string]: ",
"DashboardPanelState",
"<",
{
"pluginId": "embeddable",
"scope": "common",
"docId": "kibEmbeddablePluginApi",
"section": "def-common.EmbeddableInput",
"text": "EmbeddableInput"
},
" & { [k: string]: unknown; }>; }"
]
}
],
"source": {
"path": "src/plugins/dashboard/common/types.ts",
"lineNumber": 91
},
"initialIsOpen": false
},
{
"id": "def-common.GridData",
"type": "Interface",
"label": "GridData",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-common.GridData.w",
"type": "number",
"label": "w",
"description": [],
"source": {
"path": "src/plugins/dashboard/common/embeddable/types.ts",
"lineNumber": 10
}
},
{
"tags": [],
"id": "def-common.GridData.h",
"type": "number",
"label": "h",
"description": [],
"source": {
"path": "src/plugins/dashboard/common/embeddable/types.ts",
"lineNumber": 11
}
},
{
"tags": [],
"id": "def-common.GridData.x",
"type": "number",
"label": "x",
"description": [],
"source": {
"path": "src/plugins/dashboard/common/embeddable/types.ts",
"lineNumber": 12
}
},
{
"tags": [],
"id": "def-common.GridData.y",
"type": "number",
"label": "y",
"description": [],
"source": {
"path": "src/plugins/dashboard/common/embeddable/types.ts",
"lineNumber": 13
}
},
{
"tags": [],
"id": "def-common.GridData.i",
"type": "string",
"label": "i",
"description": [],
"source": {
"path": "src/plugins/dashboard/common/embeddable/types.ts",
"lineNumber": 14
}
}
],
"source": {
"path": "src/plugins/dashboard/common/embeddable/types.ts",
"lineNumber": 9
},
"initialIsOpen": false
}
],
"enums": [],
"misc": [
{
"id": "def-common.DashboardDoc700To720",
"type": "Type",
"label": "DashboardDoc700To720",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/bwc/types.ts",
"lineNumber": 55
},
"signature": [
"Doc<DashboardAttributesTo720>"
],
"initialIsOpen": false
},
{
"id": "def-common.DashboardDoc730ToLatest",
"type": "Type",
"label": "DashboardDoc730ToLatest",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/bwc/types.ts",
"lineNumber": 53
},
"signature": [
"Doc<DashboardAttributes>"
],
"initialIsOpen": false
},
{
"id": "def-common.DashboardDocPre700",
"type": "Type",
"label": "DashboardDocPre700",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/bwc/types.ts",
"lineNumber": 57
},
"signature": [
"DocPre700<DashboardAttributesTo720>"
],
"initialIsOpen": false
},
{
"id": "def-common.RawSavedDashboardPanel730ToLatest",
"type": "Type",
"label": "RawSavedDashboardPanel730ToLatest",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/bwc/types.ts",
"lineNumber": 70
},
"signature": [
"Pick<Pick<RawSavedDashboardPanel620, \"title\" | \"panelIndex\" | \"name\" | \"gridData\" | \"version\" | \"embeddableConfig\">, \"title\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\"> & { readonly type?: string | undefined; readonly name?: string | undefined; panelIndex: string; panelRefName?: string | undefined; }"
],
"initialIsOpen": false
},
{
"id": "def-common.SavedDashboardPanel610",
"type": "Type",
"label": "SavedDashboardPanel610",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/types.ts",
"lineNumber": 64
},
"signature": [
"Pick<RawSavedDashboardPanel610, \"columns\" | \"title\" | \"sort\" | \"panelIndex\" | \"gridData\" | \"version\"> & { readonly id: string; readonly type: string; }"
],
"initialIsOpen": false
},
{
"id": "def-common.SavedDashboardPanel620",
"type": "Type",
"label": "SavedDashboardPanel620",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/types.ts",
"lineNumber": 56
},
"signature": [
"Pick<RawSavedDashboardPanel620, \"columns\" | \"title\" | \"sort\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\"> & { readonly id: string; readonly type: string; }"
],
"initialIsOpen": false
},
{
"id": "def-common.SavedDashboardPanel630",
"type": "Type",
"label": "SavedDashboardPanel630",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/types.ts",
"lineNumber": 48
},
"signature": [
"Pick<RawSavedDashboardPanel620, \"columns\" | \"title\" | \"sort\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\"> & { readonly id: string; readonly type: string; }"
],
"initialIsOpen": false
},
{
"id": "def-common.SavedDashboardPanel640To720",
"type": "Type",
"label": "SavedDashboardPanel640To720",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/types.ts",
"lineNumber": 40
},
"signature": [
"Pick<Pick<RawSavedDashboardPanel620, \"title\" | \"panelIndex\" | \"name\" | \"gridData\" | \"version\" | \"embeddableConfig\">, \"title\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\"> & { readonly id: string; readonly type: string; }"
],
"initialIsOpen": false
},
{
"id": "def-common.SavedDashboardPanel730ToLatest",
"type": "Type",
"label": "SavedDashboardPanel730ToLatest",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/types.ts",
"lineNumber": 81
},
"signature": [
"Pick<RawSavedDashboardPanel730ToLatest, \"type\" | \"title\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\" | \"panelRefName\"> & { readonly id?: string | undefined; readonly type: string; }"
],
"initialIsOpen": false
},
{
"id": "def-common.SavedDashboardPanelTo60",
"type": "Type",
"label": "SavedDashboardPanelTo60",
"tags": [],
"description": [],
"source": {
"path": "src/plugins/dashboard/common/types.ts",
"lineNumber": 72
},
"signature": [
"Pick<RawSavedDashboardPanelTo60, \"columns\" | \"title\" | \"sort\" | \"size_x\" | \"size_y\" | \"row\" | \"col\" | \"panelIndex\"> & { readonly id: string; readonly type: string; }"
],
"initialIsOpen": false
}
],
"objects": []
}
}