* update api_docs from gitignore * api doc files * Update api_welcome.mdx * Pretty print json * Add new lines and extra frontmatter to warn github viewers * update api_docs with new lines and frontmatter * Remove all apis tagged @internal and add tests * Update docs with all internal APIs removed * fix typescript error in test fixtures * Update core.json Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
1334 lines
46 KiB
JSON
1334 lines
46 KiB
JSON
{
|
|
"id": "share",
|
|
"client": {
|
|
"classes": [
|
|
{
|
|
"id": "def-public.UrlGeneratorsService",
|
|
"type": "Class",
|
|
"tags": [],
|
|
"label": "UrlGeneratorsService",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorsService",
|
|
"text": "UrlGeneratorsService"
|
|
},
|
|
" implements ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "public",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-public.Plugin",
|
|
"text": "Plugin"
|
|
},
|
|
"<",
|
|
"UrlGeneratorsSetup",
|
|
", ",
|
|
"UrlGeneratorsStart",
|
|
", object, object>"
|
|
],
|
|
"children": [
|
|
{
|
|
"id": "def-public.UrlGeneratorsService.Unnamed",
|
|
"type": "Function",
|
|
"label": "Constructor",
|
|
"signature": [
|
|
"any"
|
|
],
|
|
"description": [],
|
|
"children": [],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_service.ts",
|
|
"lineNumber": 30,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_service.ts#L30"
|
|
}
|
|
},
|
|
{
|
|
"id": "def-public.UrlGeneratorsService.setup",
|
|
"type": "Function",
|
|
"label": "setup",
|
|
"signature": [
|
|
"(core: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "public",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-public.CoreSetup",
|
|
"text": "CoreSetup"
|
|
},
|
|
"<object, unknown>) => ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorsSetup",
|
|
"text": "UrlGeneratorsSetup"
|
|
}
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"type": "Object",
|
|
"label": "core",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "public",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-public.CoreSetup",
|
|
"text": "CoreSetup"
|
|
},
|
|
"<object, unknown>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_service.ts",
|
|
"lineNumber": 32,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_service.ts#L32"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_service.ts",
|
|
"lineNumber": 32,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_service.ts#L32"
|
|
}
|
|
},
|
|
{
|
|
"id": "def-public.UrlGeneratorsService.start",
|
|
"type": "Function",
|
|
"label": "start",
|
|
"signature": [
|
|
"(core: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "public",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-public.CoreStart",
|
|
"text": "CoreStart"
|
|
},
|
|
") => ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorsStart",
|
|
"text": "UrlGeneratorsStart"
|
|
}
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"type": "Object",
|
|
"label": "core",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "public",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-public.CoreStart",
|
|
"text": "CoreStart"
|
|
}
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_service.ts",
|
|
"lineNumber": 45,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_service.ts#L45"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_service.ts",
|
|
"lineNumber": 45,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_service.ts#L45"
|
|
}
|
|
},
|
|
{
|
|
"id": "def-public.UrlGeneratorsService.stop",
|
|
"type": "Function",
|
|
"label": "stop",
|
|
"signature": [
|
|
"() => void"
|
|
],
|
|
"description": [],
|
|
"children": [],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_service.ts",
|
|
"lineNumber": 52,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_service.ts#L52"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_service.ts",
|
|
"lineNumber": 25,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_service.ts#L25"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.KibanaURL",
|
|
"type": "Class",
|
|
"tags": [],
|
|
"label": "KibanaURL",
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.KibanaURL.path",
|
|
"type": "string",
|
|
"label": "path",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/kibana_url.ts",
|
|
"lineNumber": 12,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/kibana_url.ts#L12"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.KibanaURL.appName",
|
|
"type": "string",
|
|
"label": "appName",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/kibana_url.ts",
|
|
"lineNumber": 13,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/kibana_url.ts#L13"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.KibanaURL.appPath",
|
|
"type": "string",
|
|
"label": "appPath",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/kibana_url.ts",
|
|
"lineNumber": 14,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/kibana_url.ts#L14"
|
|
}
|
|
},
|
|
{
|
|
"id": "def-public.KibanaURL.Unnamed",
|
|
"type": "Function",
|
|
"label": "Constructor",
|
|
"signature": [
|
|
"any"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"type": "string",
|
|
"label": "path",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/kibana_url.ts",
|
|
"lineNumber": 16,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/kibana_url.ts#L16"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/kibana_url.ts",
|
|
"lineNumber": 16,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/kibana_url.ts#L16"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/kibana_url.ts",
|
|
"lineNumber": 11,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/kibana_url.ts#L11"
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"id": "def-public.downloadMultipleAs",
|
|
"type": "Function",
|
|
"label": "downloadMultipleAs",
|
|
"signature": [
|
|
"(files: Record<string, ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.DownloadableContent",
|
|
"text": "DownloadableContent"
|
|
},
|
|
">) => Promise<void>"
|
|
],
|
|
"description": [
|
|
"\nMultiple files download method"
|
|
],
|
|
"children": [
|
|
{
|
|
"type": "Object",
|
|
"label": "files",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"Record<string, ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.DownloadableContent",
|
|
"text": "DownloadableContent"
|
|
},
|
|
">"
|
|
],
|
|
"description": [
|
|
"a Record containing one entry per file: the key entry should be the filename\nand the value either a Blob content, or a Record with a stringified content and type"
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/lib/download_as.ts",
|
|
"lineNumber": 34,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/lib/download_as.ts#L34"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [
|
|
"a Promise that resolves when all the downloads have been correctly started"
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/lib/download_as.ts",
|
|
"lineNumber": 34,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/lib/download_as.ts#L34"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.downloadFileAs",
|
|
"type": "Function",
|
|
"label": "downloadFileAs",
|
|
"signature": [
|
|
"(filename: string, payload: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.DownloadableContent",
|
|
"text": "DownloadableContent"
|
|
},
|
|
") => Promise<void>"
|
|
],
|
|
"description": [
|
|
"\nConvenient method to use for a single file download\n**Note**: for multiple files use the downloadMultipleAs method, do not iterate with this method here"
|
|
],
|
|
"children": [
|
|
{
|
|
"type": "string",
|
|
"label": "filename",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"description": [
|
|
"full name of the file"
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/lib/download_as.ts",
|
|
"lineNumber": 23,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/lib/download_as.ts#L23"
|
|
}
|
|
},
|
|
{
|
|
"type": "CompoundType",
|
|
"label": "payload",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.DownloadableContent",
|
|
"text": "DownloadableContent"
|
|
}
|
|
],
|
|
"description": [
|
|
"either a Blob content, or a Record with a stringified content and type"
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/lib/download_as.ts",
|
|
"lineNumber": 23,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/lib/download_as.ts#L23"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [
|
|
"a Promise that resolves when the download has been correctly started"
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/lib/download_as.ts",
|
|
"lineNumber": 23,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/lib/download_as.ts#L23"
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"id": "def-public.UrlGeneratorStateMapping",
|
|
"type": "Interface",
|
|
"label": "UrlGeneratorStateMapping",
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"id": "def-public.UrlGeneratorStateMapping.Unnamed",
|
|
"type": "Any",
|
|
"label": "Unnamed",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 27,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L27"
|
|
},
|
|
"signature": [
|
|
"any"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 21,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L21"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.ShareContext",
|
|
"type": "Interface",
|
|
"label": "ShareContext",
|
|
"description": [],
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareContext.objectType",
|
|
"type": "string",
|
|
"label": "objectType",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 24,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L24"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareContext.objectId",
|
|
"type": "string",
|
|
"label": "objectId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 25,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L25"
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareContext.shareableUrl",
|
|
"type": "string",
|
|
"label": "shareableUrl",
|
|
"description": [
|
|
"\nCurrent url for sharing. This can be set in cases where `window.location.href`\ndoes not contain a shareable URL (e.g. if using session storage to store the current\napp state is enabled). In these cases the property should contain the URL in a\nformat which makes it possible to use it without having access to any other state\nlike the current session.\n\nIf not set it will default to `window.location.href`"
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 35,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L35"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareContext.sharingData",
|
|
"type": "Object",
|
|
"label": "sharingData",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 36,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L36"
|
|
},
|
|
"signature": [
|
|
"{ [key: string]: unknown; }"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareContext.isDirty",
|
|
"type": "boolean",
|
|
"label": "isDirty",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 37,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L37"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareContext.onClose",
|
|
"type": "Function",
|
|
"label": "onClose",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 38,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L38"
|
|
},
|
|
"signature": [
|
|
"() => void"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareContext.showPublicUrlSwitch",
|
|
"type": "Function",
|
|
"label": "showPublicUrlSwitch",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 39,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L39"
|
|
},
|
|
"signature": [
|
|
"((anonymousUserCapabilities: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "common",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-common.Capabilities",
|
|
"text": "Capabilities"
|
|
},
|
|
") => boolean) | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 23,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L23"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.ShareMenuProvider",
|
|
"type": "Interface",
|
|
"label": "ShareMenuProvider",
|
|
"description": [],
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareMenuProvider.id",
|
|
"type": "string",
|
|
"label": "id",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 72,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L72"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareMenuProvider.getShareMenuItems",
|
|
"type": "Function",
|
|
"label": "getShareMenuItems",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 74,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L74"
|
|
},
|
|
"signature": [
|
|
"(context: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.ShareContext",
|
|
"text": "ShareContext"
|
|
},
|
|
") => ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.ShareMenuItem",
|
|
"text": "ShareMenuItem"
|
|
},
|
|
"[]"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 71,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L71"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.ShareMenuItem",
|
|
"type": "Interface",
|
|
"label": "ShareMenuItem",
|
|
"description": [],
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareMenuItem.shareMenuItem",
|
|
"type": "Object",
|
|
"label": "shareMenuItem",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 60,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L60"
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.ShareContextMenuPanelItem",
|
|
"text": "ShareContextMenuPanelItem"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareMenuItem.panel",
|
|
"type": "Object",
|
|
"label": "panel",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 61,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L61"
|
|
},
|
|
"signature": [
|
|
"EuiContextMenuPanelDescriptor"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 59,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L59"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.ShowShareMenuOptions",
|
|
"type": "Interface",
|
|
"label": "ShowShareMenuOptions",
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.ShowShareMenuOptions",
|
|
"text": "ShowShareMenuOptions"
|
|
},
|
|
" extends Pick<",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.ShareContext",
|
|
"text": "ShareContext"
|
|
},
|
|
", \"objectType\" | \"objectId\" | \"shareableUrl\" | \"sharingData\" | \"isDirty\" | \"showPublicUrlSwitch\">"
|
|
],
|
|
"description": [],
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShowShareMenuOptions.anchorElement",
|
|
"type": "Object",
|
|
"label": "anchorElement",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 88,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L88"
|
|
},
|
|
"signature": [
|
|
"HTMLElement"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShowShareMenuOptions.allowEmbed",
|
|
"type": "boolean",
|
|
"label": "allowEmbed",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 89,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L89"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShowShareMenuOptions.allowShortUrl",
|
|
"type": "boolean",
|
|
"label": "allowShortUrl",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 90,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L90"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShowShareMenuOptions.embedUrlParamExtensions",
|
|
"type": "Array",
|
|
"label": "embedUrlParamExtensions",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 91,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L91"
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlParamExtension",
|
|
"text": "UrlParamExtension"
|
|
},
|
|
"[] | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 87,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L87"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.ShareContextMenuPanelItem",
|
|
"type": "Interface",
|
|
"label": "ShareContextMenuPanelItem",
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.ShareContextMenuPanelItem",
|
|
"text": "ShareContextMenuPanelItem"
|
|
},
|
|
" extends Pick<",
|
|
"EuiContextMenuPanelItemDescriptorEntry",
|
|
", \"onClick\" | \"key\" | \"size\" | \"className\" | \"aria-label\" | \"data-test-subj\" | \"disabled\" | \"target\" | \"href\" | \"icon\" | \"rel\" | \"buttonRef\" | \"toolTipContent\" | \"toolTipTitle\" | \"toolTipPosition\" | \"layoutAlign\" | \"panel\">"
|
|
],
|
|
"description": [],
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareContextMenuPanelItem.name",
|
|
"type": "string",
|
|
"label": "name",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 50,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L50"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ShareContextMenuPanelItem.sortOrder",
|
|
"type": "number",
|
|
"label": "sortOrder",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 51,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L51"
|
|
},
|
|
"signature": [
|
|
"number | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/types.ts",
|
|
"lineNumber": 48,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/types.ts#L48"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.UrlGeneratorState",
|
|
"type": "Interface",
|
|
"label": "UrlGeneratorState",
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorState",
|
|
"text": "UrlGeneratorState"
|
|
},
|
|
"<S, I, MS>"
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.UrlGeneratorState.State",
|
|
"type": "Uncategorized",
|
|
"label": "State",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 16,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L16"
|
|
},
|
|
"signature": [
|
|
"S"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.UrlGeneratorState.MigratedId",
|
|
"type": "Uncategorized",
|
|
"label": "MigratedId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 17,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L17"
|
|
},
|
|
"signature": [
|
|
"I | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.UrlGeneratorState.MigratedState",
|
|
"type": "Uncategorized",
|
|
"label": "MigratedState",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 18,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L18"
|
|
},
|
|
"signature": [
|
|
"MS | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 11,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L11"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.UrlGeneratorsDefinition",
|
|
"type": "Interface",
|
|
"label": "UrlGeneratorsDefinition",
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorsDefinition",
|
|
"text": "UrlGeneratorsDefinition"
|
|
},
|
|
"<Id>"
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.UrlGeneratorsDefinition.id",
|
|
"type": "Uncategorized",
|
|
"label": "id",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 31,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L31"
|
|
},
|
|
"signature": [
|
|
"Id"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.UrlGeneratorsDefinition.createUrl",
|
|
"type": "Function",
|
|
"label": "createUrl",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 32,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L32"
|
|
},
|
|
"signature": [
|
|
"((state: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"State\"]) => Promise<string>) | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.UrlGeneratorsDefinition.isDeprecated",
|
|
"type": "CompoundType",
|
|
"label": "isDeprecated",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 33,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L33"
|
|
},
|
|
"signature": [
|
|
"boolean | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.UrlGeneratorsDefinition.migrate",
|
|
"type": "Function",
|
|
"label": "migrate",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 34,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L34"
|
|
},
|
|
"signature": [
|
|
"((state: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"State\"]) => Promise<{ state: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"MigratedState\"]; id: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"MigratedId\"]; }>) | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 30,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L30"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.UrlGeneratorContract",
|
|
"type": "Interface",
|
|
"label": "UrlGeneratorContract",
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorContract",
|
|
"text": "UrlGeneratorContract"
|
|
},
|
|
"<Id>"
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.UrlGeneratorContract.id",
|
|
"type": "Uncategorized",
|
|
"label": "id",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_contract.ts",
|
|
"lineNumber": 12,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_contract.ts#L12"
|
|
},
|
|
"signature": [
|
|
"Id"
|
|
]
|
|
},
|
|
{
|
|
"id": "def-public.UrlGeneratorContract.createUrl",
|
|
"type": "Function",
|
|
"label": "createUrl",
|
|
"signature": [
|
|
"(state: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"State\"]) => Promise<string>"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"type": "Uncategorized",
|
|
"label": "state",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"State\"]"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_contract.ts",
|
|
"lineNumber": 13,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_contract.ts#L13"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_contract.ts",
|
|
"lineNumber": 13,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_contract.ts#L13"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.UrlGeneratorContract.isDeprecated",
|
|
"type": "boolean",
|
|
"label": "isDeprecated",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_contract.ts",
|
|
"lineNumber": 14,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_contract.ts#L14"
|
|
}
|
|
},
|
|
{
|
|
"id": "def-public.UrlGeneratorContract.migrate",
|
|
"type": "Function",
|
|
"label": "migrate",
|
|
"signature": [
|
|
"(state: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"State\"]) => Promise<{ state: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"MigratedState\"]; id: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"MigratedId\"]; }>"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"type": "Uncategorized",
|
|
"label": "state",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.UrlGeneratorStateMapping",
|
|
"text": "UrlGeneratorStateMapping"
|
|
},
|
|
"[Id][\"State\"]"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_contract.ts",
|
|
"lineNumber": 16,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_contract.ts#L16"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_contract.ts",
|
|
"lineNumber": 15,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_contract.ts#L15"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_contract.ts",
|
|
"lineNumber": 11,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_contract.ts#L11"
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.CSV_QUOTE_VALUES_SETTING",
|
|
"type": "string",
|
|
"label": "CSV_QUOTE_VALUES_SETTING",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/common/constants.ts",
|
|
"lineNumber": 10,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/common/constants.ts#L10"
|
|
},
|
|
"signature": [
|
|
"\"csv:quoteValues\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.CSV_SEPARATOR_SETTING",
|
|
"type": "string",
|
|
"label": "CSV_SEPARATOR_SETTING",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/common/constants.ts",
|
|
"lineNumber": 9,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/common/constants.ts#L9"
|
|
},
|
|
"signature": [
|
|
"\"csv:separator\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.UrlGeneratorId",
|
|
"type": "Type",
|
|
"label": "UrlGeneratorId",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/url_generators/url_generator_definition.ts",
|
|
"lineNumber": 9,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/url_generators/url_generator_definition.ts#L9"
|
|
},
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.DownloadableContent",
|
|
"type": "Type",
|
|
"label": "DownloadableContent",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/lib/download_as.ts",
|
|
"lineNumber": 13,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/lib/download_as.ts#L13"
|
|
},
|
|
"signature": [
|
|
"{ content: string; type: string; } | Blob"
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [],
|
|
"setup": {
|
|
"id": "def-public.SharePluginSetup",
|
|
"type": "Type",
|
|
"label": "SharePluginSetup",
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/plugin.ts",
|
|
"lineNumber": 56,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/plugin.ts#L56"
|
|
},
|
|
"signature": [
|
|
"{ register: (shareMenuProvider: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.ShareMenuProvider",
|
|
"text": "ShareMenuProvider"
|
|
},
|
|
") => void; } & { urlGenerators: UrlGeneratorsSetup; }"
|
|
],
|
|
"lifecycle": "setup",
|
|
"initialIsOpen": true
|
|
},
|
|
"start": {
|
|
"id": "def-public.SharePluginStart",
|
|
"type": "Type",
|
|
"label": "SharePluginStart",
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/public/plugin.ts",
|
|
"lineNumber": 61,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/public/plugin.ts#L61"
|
|
},
|
|
"signature": [
|
|
"{ toggleShareContextMenu: (options: ",
|
|
{
|
|
"pluginId": "share",
|
|
"scope": "public",
|
|
"docId": "kibSharePluginApi",
|
|
"section": "def-public.ShowShareMenuOptions",
|
|
"text": "ShowShareMenuOptions"
|
|
},
|
|
") => void; } & { urlGenerators: UrlGeneratorsStart; }"
|
|
],
|
|
"lifecycle": "start",
|
|
"initialIsOpen": true
|
|
}
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.CSV_QUOTE_VALUES_SETTING",
|
|
"type": "string",
|
|
"label": "CSV_QUOTE_VALUES_SETTING",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/common/constants.ts",
|
|
"lineNumber": 10,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/common/constants.ts#L10"
|
|
},
|
|
"signature": [
|
|
"\"csv:quoteValues\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.CSV_SEPARATOR_SETTING",
|
|
"type": "string",
|
|
"label": "CSV_SEPARATOR_SETTING",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/share/common/constants.ts",
|
|
"lineNumber": 9,
|
|
"link": "https://github.com/elastic/kibana/tree/mastersrc/plugins/share/common/constants.ts#L9"
|
|
},
|
|
"signature": [
|
|
"\"csv:separator\""
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
}
|
|
} |