kibana/api_docs/dev_tools.json
Stacey Gammon cecdcc538e
API docs clean up (#93508)
* Fix links to github

* Fix links to github

* Update docs to latest

* Sort, remove unneccessary path info, reduce tags

* Go back to having DocDef create the link to avoid backport conflicts

* update api docs
2021-03-05 20:12:28 -05:00

234 lines
7.1 KiB
JSON

{
"id": "devTools",
"client": {
"classes": [
{
"id": "def-public.DevToolsPlugin",
"type": "Class",
"tags": [],
"label": "DevToolsPlugin",
"description": [],
"signature": [
{
"pluginId": "devTools",
"scope": "public",
"docId": "kibDevToolsPluginApi",
"section": "def-public.DevToolsPlugin",
"text": "DevToolsPlugin"
},
" implements ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.Plugin",
"text": "Plugin"
},
"<",
{
"pluginId": "devTools",
"scope": "public",
"docId": "kibDevToolsPluginApi",
"section": "def-public.DevToolsSetup",
"text": "DevToolsSetup"
},
", void, object, object>"
],
"children": [
{
"id": "def-public.DevToolsPlugin.setup",
"type": "Function",
"label": "setup",
"signature": [
"(coreSetup: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>, { urlForwarding }: { urlForwarding: { forwardApp: (legacyAppId: string, newAppId: string, rewritePath?: ((legacyPath: string) => string) | undefined) => void; }; }) => { register: (devToolArgs: ",
{
"pluginId": "devTools",
"scope": "public",
"docId": "kibDevToolsPluginApi",
"section": "def-public.CreateDevToolArgs",
"text": "CreateDevToolArgs"
},
") => ",
{
"pluginId": "devTools",
"scope": "public",
"docId": "kibDevToolsPluginApi",
"section": "def-public.DevToolApp",
"text": "DevToolApp"
},
"; }"
],
"description": [],
"children": [
{
"type": "Object",
"label": "coreSetup",
"isRequired": true,
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>"
],
"description": [],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 43
}
},
{
"id": "def-public.DevToolsPlugin.setup.{-urlForwarding }",
"type": "Object",
"label": "{ urlForwarding }",
"tags": [],
"description": [],
"children": [
{
"tags": [],
"id": "def-public.DevToolsPlugin.setup.{-urlForwarding }.urlForwarding",
"type": "Object",
"label": "urlForwarding",
"description": [],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 43
},
"signature": [
"{ forwardApp: (legacyAppId: string, newAppId: string, rewritePath?: ((legacyPath: string) => string) | undefined) => void; }"
]
}
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 43
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 43
}
},
{
"id": "def-public.DevToolsPlugin.start",
"type": "Function",
"label": "start",
"signature": [
"() => void"
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 84
}
},
{
"id": "def-public.DevToolsPlugin.stop",
"type": "Function",
"label": "stop",
"signature": [
"() => void"
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 90
}
}
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 35
},
"initialIsOpen": false
}
],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": [],
"setup": {
"id": "def-public.DevToolsSetup",
"type": "Interface",
"label": "DevToolsSetup",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.DevToolsSetup.register",
"type": "Function",
"label": "register",
"description": [
"\nRegister a developer tool. It will be available\nin the dev tools app under a separate tab.\n\nRegistering dev tools works almost similar to registering\napplications in the core application service,\nbut they will be rendered with a frame containing tabs\nto switch between the tools."
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 32
},
"signature": [
"(devTool: ",
{
"pluginId": "devTools",
"scope": "public",
"docId": "kibDevToolsPluginApi",
"section": "def-public.CreateDevToolArgs",
"text": "CreateDevToolArgs"
},
") => ",
{
"pluginId": "devTools",
"scope": "public",
"docId": "kibDevToolsPluginApi",
"section": "def-public.DevToolApp",
"text": "DevToolApp"
}
]
}
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 21
},
"lifecycle": "setup",
"initialIsOpen": true
}
},
"server": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
}
}