kibana/api_docs/dev_tools.json
Stacey Gammon 8ee9c3abc4
Fix a bunch of bugs with APIDocs system (#99589) (#100417)
* Remove custom code, add in a hack

* remove artifical limit

* Fix arrow functions in interfaces not having children

* Update docs

* Update api docs after merge from master

* update api docs after merge from master

* update api docs
# Conflicts:
#	api_docs/core.json
#	api_docs/data.json
#	api_docs/data_index_patterns.json
#	api_docs/deprecations.mdx
#	api_docs/features.json
#	api_docs/licensing.json
#	api_docs/reporting.json
#	api_docs/spaces.json
2021-05-20 16:11:31 -04:00

253 lines
7.8 KiB
JSON

{
"id": "devTools",
"client": {
"classes": [
{
"parentPluginId": "devTools",
"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>"
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 35
},
"deprecated": false,
"children": [
{
"parentPluginId": "devTools",
"id": "def-public.DevToolsPlugin.setup",
"type": "Function",
"tags": [],
"label": "setup",
"description": [],
"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: ",
"CreateDevToolArgs",
") => ",
"DevToolApp",
"; }"
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 43
},
"deprecated": false,
"children": [
{
"parentPluginId": "devTools",
"id": "def-public.DevToolsPlugin.setup.$1",
"type": "Object",
"tags": [],
"label": "coreSetup",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>"
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 43
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "devTools",
"id": "def-public.DevToolsPlugin.setup.$2.urlForwarding",
"type": "Object",
"tags": [],
"label": "{ urlForwarding }",
"description": [],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 43
},
"deprecated": false,
"children": [
{
"parentPluginId": "devTools",
"id": "def-public.DevToolsPlugin.setup.$2.urlForwarding.urlForwarding",
"type": "Object",
"tags": [],
"label": "urlForwarding",
"description": [],
"signature": [
"{ forwardApp: (legacyAppId: string, newAppId: string, rewritePath?: ((legacyPath: string) => string) | undefined) => void; }"
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 43
},
"deprecated": false
}
]
}
],
"returnComment": []
},
{
"parentPluginId": "devTools",
"id": "def-public.DevToolsPlugin.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 84
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "devTools",
"id": "def-public.DevToolsPlugin.stop",
"type": "Function",
"tags": [],
"label": "stop",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 104
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
}
],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": [],
"setup": {
"parentPluginId": "devTools",
"id": "def-public.DevToolsSetup",
"type": "Interface",
"tags": [],
"label": "DevToolsSetup",
"description": [],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "devTools",
"id": "def-public.DevToolsSetup.register",
"type": "Function",
"tags": [],
"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."
],
"signature": [
"(devTool: ",
"CreateDevToolArgs",
") => ",
"DevToolApp"
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 32
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "devTools",
"id": "def-public.devTool",
"type": "CompoundType",
"tags": [],
"label": "devTool",
"description": [
"The dev tools descriptor"
],
"signature": [
"Pick<",
"DevToolApp",
", \"title\" | \"id\" | \"order\" | \"mount\" | \"tooltipContent\" | \"enableRouting\"> & { disabled?: boolean | undefined; }"
],
"source": {
"path": "src/plugins/dev_tools/public/plugin.ts",
"lineNumber": 32
},
"deprecated": false
}
]
}
],
"lifecycle": "setup",
"initialIsOpen": true
}
},
"server": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
}
}