Skip to content

Commit

Permalink
Update api docs (#101509)
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Jun 7, 2021
1 parent 7033741 commit f670fd2
Show file tree
Hide file tree
Showing 94 changed files with 21,398 additions and 84,408 deletions.
96 changes: 10 additions & 86 deletions api_docs/actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,7 @@
"path": "x-pack/plugins/actions/server/types.ts",
"lineNumber": 40
},
"deprecated": false,
"returnComment": [],
"children": []
"deprecated": false
},
{
"parentPluginId": "actions",
Expand All @@ -278,9 +276,7 @@
"path": "x-pack/plugins/actions/server/types.ts",
"lineNumber": 41
},
"deprecated": false,
"returnComment": [],
"children": []
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -520,55 +516,14 @@
"label": "executor",
"description": [],
"signature": [
"(options: ",
{
"pluginId": "actions",
"scope": "server",
"docId": "kibActionsPluginApi",
"section": "def-server.ActionTypeExecutorOptions",
"text": "ActionTypeExecutorOptions"
},
"<Config, Secrets, Params>) => Promise<",
{
"pluginId": "actions",
"scope": "common",
"docId": "kibActionsPluginApi",
"section": "def-common.ActionTypeExecutorResult",
"text": "ActionTypeExecutorResult"
},
"<ExecutorResultData>>"
"ExecutorType",
"<Config, Secrets, Params, ExecutorResultData>"
],
"source": {
"path": "x-pack/plugins/actions/server/types.ts",
"lineNumber": 116
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "actions",
"id": "def-server.options",
"type": "Object",
"tags": [],
"label": "options",
"description": [],
"signature": [
{
"pluginId": "actions",
"scope": "server",
"docId": "kibActionsPluginApi",
"section": "def-server.ActionTypeExecutorOptions",
"text": "ActionTypeExecutorOptions"
},
"<Config, Secrets, Params>"
],
"source": {
"path": "x-pack/plugins/actions/server/types.ts",
"lineNumber": 84
},
"deprecated": false
}
]
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -788,7 +743,7 @@
"label": "ActionParamsType",
"description": [],
"signature": [
"{ readonly source?: string | undefined; readonly summary?: string | undefined; readonly timestamp?: string | undefined; readonly eventAction?: \"resolve\" | \"trigger\" | \"acknowledge\" | undefined; readonly dedupKey?: string | undefined; readonly severity?: \"warning\" | \"error\" | \"info\" | \"critical\" | undefined; readonly component?: string | undefined; readonly group?: string | undefined; readonly class?: string | undefined; }"
"{ readonly source?: string | undefined; readonly summary?: string | undefined; readonly timestamp?: string | undefined; readonly eventAction?: \"resolve\" | \"trigger\" | \"acknowledge\" | undefined; readonly dedupKey?: string | undefined; readonly severity?: \"warning\" | \"info\" | \"error\" | \"critical\" | undefined; readonly component?: string | undefined; readonly group?: string | undefined; readonly class?: string | undefined; }"
],
"source": {
"path": "x-pack/plugins/actions/server/builtin_action_types/pagerduty.ts",
Expand All @@ -805,7 +760,7 @@
"label": "ActionParamsType",
"description": [],
"signature": [
"{ readonly message: string; readonly level: \"error\" | \"info\" | \"debug\" | \"trace\" | \"warn\" | \"fatal\"; }"
"{ readonly message: string; readonly level: \"info\" | \"error\" | \"debug\" | \"trace\" | \"warn\" | \"fatal\"; }"
],
"source": {
"path": "x-pack/plugins/actions/server/builtin_action_types/server_log.ts",
Expand Down Expand Up @@ -968,38 +923,7 @@
"docId": "kibActionsPluginApi",
"section": "def-server.ActionResult",
"text": "ActionResult"
},
"<Record<string, unknown>>>; execute: ({ actionId, params, source, }: Pick<",
"ExecuteOptions",
"<unknown>, \"source\" | \"params\" | \"actionId\">) => Promise<",
{
"pluginId": "actions",
"scope": "common",
"docId": "kibActionsPluginApi",
"section": "def-common.ActionTypeExecutorResult",
"text": "ActionTypeExecutorResult"
},
"<unknown>>; getAll: () => Promise<",
"FindActionResult",
"[]>; getBulk: (ids: string[]) => Promise<",
{
"pluginId": "actions",
"scope": "server",
"docId": "kibActionsPluginApi",
"section": "def-server.ActionResult",
"text": "ActionResult"
},
"<Record<string, unknown>>[]>; enqueueExecution: (options: ",
"ExecuteOptions",
") => Promise<void>; listTypes: () => Promise<",
{
"pluginId": "actions",
"scope": "common",
"docId": "kibActionsPluginApi",
"section": "def-common.ActionType",
"text": "ActionType"
},
"[]>; isActionTypeEnabled: (actionTypeId: string, options?: { notifyUsage: boolean; }) => boolean; }"
}
],
"source": {
"path": "x-pack/plugins/actions/server/index.ts",
Expand Down Expand Up @@ -1054,7 +978,7 @@
],
"source": {
"path": "x-pack/plugins/actions/server/builtin_action_types/pagerduty.ts",
"lineNumber": 121
"lineNumber": 129
},
"deprecated": false,
"initialIsOpen": false
Expand Down Expand Up @@ -1795,7 +1719,7 @@
"label": "config",
"description": [],
"signature": [
"{ [x: string]: any; }"
"Record<string, any>"
],
"source": {
"path": "x-pack/plugins/actions/common/types.ts",
Expand Down
108 changes: 7 additions & 101 deletions api_docs/advanced_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 30
},
"deprecated": false,
"returnComment": [],
"children": []
"deprecated": false
},
{
"parentPluginId": "advancedSettings",
Expand All @@ -76,9 +74,7 @@
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 31
},
"deprecated": false,
"returnComment": [],
"children": []
"deprecated": false
},
{
"parentPluginId": "advancedSettings",
Expand All @@ -94,9 +90,7 @@
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 32
},
"deprecated": false,
"returnComment": [],
"children": []
"deprecated": false
}
]
},
Expand Down Expand Up @@ -157,55 +151,7 @@
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 73
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "advancedSettings",
"id": "def-public.id",
"type": "CompoundType",
"tags": [],
"label": "id",
"description": [],
"signature": [
"\"advanced_settings_page_title\" | \"advanced_settings_page_subtitle\" | \"advanced_settings_page_footer\""
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 47
},
"deprecated": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.component",
"type": "CompoundType",
"tags": [],
"label": "component",
"description": [],
"signature": [
"React.ComponentClass<Record<string, any> | undefined, any> | React.FunctionComponent<Record<string, any> | undefined>"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 47
},
"deprecated": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.allowOverride",
"type": "boolean",
"tags": [],
"label": "allowOverride",
"description": [],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 47
},
"deprecated": false
}
]
"deprecated": false
}
]
},
Expand Down Expand Up @@ -252,26 +198,7 @@
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 78
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "advancedSettings",
"id": "def-public.id",
"type": "CompoundType",
"tags": [],
"label": "id",
"description": [],
"signature": [
"\"advanced_settings_page_title\" | \"advanced_settings_page_subtitle\" | \"advanced_settings_page_footer\""
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 67
},
"deprecated": false
}
]
"deprecated": false
}
]
}
Expand All @@ -290,36 +217,15 @@
"\nExports the field component as a React.lazy component. We're explicitly naming it lazy here\nso any plugin that would import that can clearly see it's lazy loaded and can only be used\ninside a suspense context."
],
"signature": [
"React.ExoticComponent<FieldProps & React.RefAttributes<",
"React.LazyExoticComponent<typeof ",
"Field",
">> & { readonly _result: typeof ",
"Field",
"; }"
">"
],
"source": {
"path": "src/plugins/advanced_settings/public/index.ts",
"lineNumber": 20
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "advancedSettings",
"id": "def-public.props",
"type": "Uncategorized",
"tags": [],
"label": "props",
"description": [],
"signature": [
"P"
],
"source": {
"path": "node_modules/@types/react/index.d.ts",
"lineNumber": 359
},
"deprecated": false
}
],
"initialIsOpen": false
}
],
Expand Down
Loading

0 comments on commit f670fd2

Please sign in to comment.