Skip to content

Commit

Permalink
Merge branch 'main' into investigate-in-timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Sep 19, 2022
2 parents b12e48b + cd52a2e commit ec85eba
Show file tree
Hide file tree
Showing 987 changed files with 21,391 additions and 6,275 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ module.exports = {
{
// typescript for front and back end
files: [
'x-pack/plugins/{alerting,stack_alerts,actions,task_manager,event_log}/**/*.{ts,tsx}',
'x-pack/plugins/{alerting,stack_alerts,stack_connectors,actions,task_manager,event_log}/**/*.{ts,tsx}',
],
rules: {
'@typescript-eslint/no-explicit-any': 'error',
Expand Down
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ x-pack/examples/files_example @elastic/kibana-app-services
/x-pack/plugins/actions/ @elastic/response-ops
/x-pack/plugins/event_log/ @elastic/response-ops
/x-pack/plugins/task_manager/ @elastic/response-ops
/x-pack/plugins/stack_connectors/ @elastic/response-ops
/x-pack/plugins/stack_connectors/server/connector_types/stack/ @elastic/response-ops-execution
/x-pack/plugins/stack_connectors/server/connector_types/cases/ @elastic/response-ops-cases
/x-pack/test/alerting_api_integration/ @elastic/response-ops
/x-pack/test/plugin_api_integration/test_suites/task_manager/ @elastic/response-ops
/x-pack/plugins/triggers_actions_ui/ @elastic/response-ops
Expand Down
831 changes: 14 additions & 817 deletions api_docs/actions.devdocs.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions api_docs/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions
title: "actions"
image: https://source.unsplash.com/400x175/?github
description: API docs for the actions plugin
date: 2022-09-15
date: 2022-09-19
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
---
import actionsObj from './actions.devdocs.json';
Expand All @@ -21,7 +21,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 273 | 0 | 268 | 19 |
| 214 | 0 | 209 | 19 |

## Client

Expand Down
194 changes: 193 additions & 1 deletion api_docs/advanced_settings.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,201 @@
}
],
"initialIsOpen": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.toEditableConfig",
"type": "Function",
"tags": [],
"label": "toEditableConfig",
"description": [],
"signature": [
"({\n def,\n name,\n value,\n isCustom,\n isOverridden,\n}: { def: ",
"PublicUiSettingsParams",
" & ",
"UserProvidedValues",
"<any>; name: string; value: ",
"SavedObjectAttribute",
"; isCustom: boolean; isOverridden: boolean; }) => ",
"FieldSetting"
],
"path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "advancedSettings",
"id": "def-public.toEditableConfig.$1",
"type": "Object",
"tags": [],
"label": "{\n def,\n name,\n value,\n isCustom,\n isOverridden,\n}",
"description": [],
"path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "advancedSettings",
"id": "def-public.toEditableConfig.$1.def",
"type": "CompoundType",
"tags": [],
"label": "def",
"description": [],
"signature": [
"PublicUiSettingsParams",
" & ",
"UserProvidedValues",
"<any>"
],
"path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.toEditableConfig.$1.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.toEditableConfig.$1.value",
"type": "CompoundType",
"tags": [],
"label": "value",
"description": [],
"signature": [
"SavedObjectAttributeSingle",
" | ",
"SavedObjectAttributeSingle",
"[]"
],
"path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.toEditableConfig.$1.isCustom",
"type": "boolean",
"tags": [],
"label": "isCustom",
"description": [],
"path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.toEditableConfig.$1.isOverridden",
"type": "boolean",
"tags": [],
"label": "isOverridden",
"description": [],
"path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts",
"deprecated": false,
"trackAdoption": false
}
]
}
],
"returnComment": [
"the editable config object"
],
"initialIsOpen": false
}
],
"interfaces": [
{
"parentPluginId": "advancedSettings",
"id": "def-public.FieldState",
"type": "Interface",
"tags": [],
"label": "FieldState",
"description": [],
"path": "src/plugins/advanced_settings/public/management_app/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "advancedSettings",
"id": "def-public.FieldState.value",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"path": "src/plugins/advanced_settings/public/management_app/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.FieldState.changeImage",
"type": "CompoundType",
"tags": [],
"label": "changeImage",
"description": [],
"signature": [
"boolean | undefined"
],
"path": "src/plugins/advanced_settings/public/management_app/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.FieldState.loading",
"type": "CompoundType",
"tags": [],
"label": "loading",
"description": [],
"signature": [
"boolean | undefined"
],
"path": "src/plugins/advanced_settings/public/management_app/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.FieldState.isInvalid",
"type": "CompoundType",
"tags": [],
"label": "isInvalid",
"description": [],
"signature": [
"boolean | undefined"
],
"path": "src/plugins/advanced_settings/public/management_app/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "advancedSettings",
"id": "def-public.FieldState.error",
"type": "CompoundType",
"tags": [],
"label": "error",
"description": [],
"signature": [
"string | null | undefined"
],
"path": "src/plugins/advanced_settings/public/management_app/types.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
}
],
"interfaces": [],
"enums": [],
"misc": [],
"objects": [],
Expand Down
7 changes: 5 additions & 2 deletions api_docs/advanced_settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings
title: "advancedSettings"
image: https://source.unsplash.com/400x175/?github
description: API docs for the advancedSettings plugin
date: 2022-09-15
date: 2022-09-19
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
---
import advancedSettingsObj from './advanced_settings.devdocs.json';
Expand All @@ -21,7 +21,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 23 | 0 | 19 | 1 |
| 36 | 1 | 32 | 2 |

## Client

Expand All @@ -37,3 +37,6 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que
### Classes
<DocDefinitionList data={advancedSettingsObj.client.classes}/>

### Interfaces
<DocDefinitionList data={advancedSettingsObj.client.interfaces}/>

41 changes: 41 additions & 0 deletions api_docs/aiops.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,47 @@
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "aiops",
"id": "def-public.LogCategorization",
"type": "Function",
"tags": [],
"label": "LogCategorization",
"description": [
"\nLazy-wrapped LogCategorizationAppStateProps React component"
],
"signature": [
"(props: React.PropsWithChildren<",
"LogCategorizationAppStateProps",
">) => JSX.Element"
],
"path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "aiops",
"id": "def-public.LogCategorization.$1",
"type": "CompoundType",
"tags": [],
"label": "props",
"description": [
"- properties specifying the data on which to run the analysis."
],
"signature": [
"React.PropsWithChildren<",
"LogCategorizationAppStateProps",
">"
],
"path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [],
Expand Down
4 changes: 2 additions & 2 deletions api_docs/aiops.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops
title: "aiops"
image: https://source.unsplash.com/400x175/?github
description: API docs for the aiops plugin
date: 2022-09-15
date: 2022-09-19
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
---
import aiopsObj from './aiops.devdocs.json';
Expand All @@ -21,7 +21,7 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 7 | 0 | 0 | 1 |
| 9 | 0 | 0 | 2 |

## Client

Expand Down
12 changes: 6 additions & 6 deletions api_docs/alerting.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
"The rule to view"
],
"signature": [
"{ params: never; tags: string[]; id: string; monitoring?: ",
"{ name: string; params: never; tags: string[]; id: string; monitoring?: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.RuleMonitoring",
"text": "RuleMonitoring"
},
" | undefined; name: string; enabled: boolean; actions: ",
" | undefined; enabled: boolean; actions: ",
{
"pluginId": "alerting",
"scope": "common",
Expand Down Expand Up @@ -1819,7 +1819,7 @@
"section": "def-common.SanitizedRule",
"text": "SanitizedRule"
},
"<never>, \"tags\" | \"name\" | \"enabled\" | \"actions\" | \"throttle\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }"
"<never>, \"name\" | \"tags\" | \"enabled\" | \"actions\" | \"throttle\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }"
],
"path": "x-pack/plugins/alerting/server/types.ts",
"deprecated": false,
Expand Down Expand Up @@ -6193,15 +6193,15 @@
"label": "SanitizedRule",
"description": [],
"signature": [
"{ params: Params; tags: string[]; id: string; monitoring?: ",
"{ name: string; params: Params; tags: string[]; id: string; monitoring?: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.RuleMonitoring",
"text": "RuleMonitoring"
},
" | undefined; name: string; enabled: boolean; actions: ",
" | undefined; enabled: boolean; actions: ",
{
"pluginId": "alerting",
"scope": "common",
Expand Down Expand Up @@ -6264,7 +6264,7 @@
"section": "def-common.SanitizedRule",
"text": "SanitizedRule"
},
"<never>, \"tags\" | \"name\" | \"enabled\" | \"actions\" | \"throttle\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }"
"<never>, \"name\" | \"tags\" | \"enabled\" | \"actions\" | \"throttle\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }"
],
"path": "x-pack/plugins/alerting/common/rule.ts",
"deprecated": false,
Expand Down
2 changes: 1 addition & 1 deletion api_docs/alerting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting
title: "alerting"
image: https://source.unsplash.com/400x175/?github
description: API docs for the alerting plugin
date: 2022-09-15
date: 2022-09-19
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
---
import alertingObj from './alerting.devdocs.json';
Expand Down
Loading

0 comments on commit ec85eba

Please sign in to comment.