diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index c090d1e922362..6c3df5e14c8ee 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -249,10 +249,10 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/plugins\/security_solution_serverless/, /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/plugins\/timelines/, - /^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/, - /^x-pack\/plugins\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/, - /^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/openai/, - /^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/bedrock/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/openai/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/bedrock/, /^x-pack\/plugins\/usage_collection\/public/, /^x-pack\/plugins\/elastic_assistant/, /^x-pack\/packages\/security-solution/, @@ -336,7 +336,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/plugins\/threat_intelligence/, /^x-pack\/plugins\/timelines/, - /^x-pack\/plugins\/triggers_actions_ui/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/, /^x-pack\/plugins\/usage_collection\/public/, /^x-pack\/test\/functional\/es_archives\/security_solution/, /^x-pack\/test\/security_solution_cypress/, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d43c9b054a2fa..7593154dd5b24 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -887,6 +887,7 @@ x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs- x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops x-pack/platform/plugins/shared/task_manager @elastic/response-ops +x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops x-pack/plugins/asset_inventory @elastic/kibana-cloud-security-posture x-pack/plugins/banners @elastic/appex-sharedux x-pack/plugins/canvas @elastic/kibana-presentation @@ -993,7 +994,6 @@ x-pack/plugins/spaces @elastic/kibana-security x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core x-pack/plugins/threat_intelligence @elastic/security-threat-hunting-investigations x-pack/plugins/timelines @elastic/security-threat-hunting-investigations -x-pack/plugins/triggers_actions_ui @elastic/response-ops x-pack/plugins/upgrade_assistant @elastic/kibana-management x-pack/plugins/watcher @elastic/kibana-management x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index a2771183cb157..49ee427ddd596 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -955,7 +955,7 @@ in their infrastructure. For adding localizations and instrument a ui to support translated content, see https://github.com/elastic/kibana/tree/main/packages/kbn-i18n -|{kib-repo}blob/{branch}/x-pack/plugins/triggers_actions_ui/README.md[triggersActionsUi] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/triggers_actions_ui/README.md[triggersActionsUi] |The Kibana alerts and actions UI plugin provides a user interface for managing alerts and actions. As a developer you can reuse and extend built-in alerts and actions UI functionality: diff --git a/package.json b/package.json index 9ab66139c08aa..41d6f1ce05a5e 100644 --- a/package.json +++ b/package.json @@ -969,7 +969,7 @@ "@kbn/translations-plugin": "link:x-pack/platform/plugins/private/translations", "@kbn/transpose-utils": "link:packages/kbn-transpose-utils", "@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example", - "@kbn/triggers-actions-ui-plugin": "link:x-pack/plugins/triggers_actions_ui", + "@kbn/triggers-actions-ui-plugin": "link:x-pack/platform/plugins/shared/triggers_actions_ui", "@kbn/triggers-actions-ui-types": "link:packages/kbn-triggers-actions-ui-types", "@kbn/try-in-console": "link:packages/kbn-try-in-console", "@kbn/typed-react-router-config": "link:packages/kbn-typed-react-router-config", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 2fc22ae536267..a5fe063e776c1 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -68,7 +68,7 @@ export const storybookAliases = { shared_ux: 'packages/shared-ux/storybook/config', slo: 'x-pack/plugins/observability_solution/slo/.storybook', threat_intelligence: 'x-pack/plugins/threat_intelligence/.storybook', - triggers_actions_ui: 'x-pack/plugins/triggers_actions_ui/.storybook', + triggers_actions_ui: 'x-pack/platform/plugins/shared/triggers_actions_ui/.storybook', ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook', unified_search: 'src/plugins/unified_search/.storybook', profiling: 'x-pack/plugins/observability_solution/profiling/.storybook', diff --git a/tsconfig.base.json b/tsconfig.base.json index 7e0bf27b223ea..adc7cb9e29bcd 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1946,8 +1946,8 @@ "@kbn/transpose-utils/*": ["packages/kbn-transpose-utils/*"], "@kbn/triggers-actions-ui-example-plugin": ["x-pack/examples/triggers_actions_ui_example"], "@kbn/triggers-actions-ui-example-plugin/*": ["x-pack/examples/triggers_actions_ui_example/*"], - "@kbn/triggers-actions-ui-plugin": ["x-pack/plugins/triggers_actions_ui"], - "@kbn/triggers-actions-ui-plugin/*": ["x-pack/plugins/triggers_actions_ui/*"], + "@kbn/triggers-actions-ui-plugin": ["x-pack/platform/plugins/shared/triggers_actions_ui"], + "@kbn/triggers-actions-ui-plugin/*": ["x-pack/platform/plugins/shared/triggers_actions_ui/*"], "@kbn/triggers-actions-ui-types": ["packages/kbn-triggers-actions-ui-types"], "@kbn/triggers-actions-ui-types/*": ["packages/kbn-triggers-actions-ui-types/*"], "@kbn/try-in-console": ["packages/kbn-try-in-console"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index b9954f32c8cf1..7db57f2f7e928 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -163,7 +163,7 @@ "xpack.threatIntelligence": "plugins/threat_intelligence", "xpack.timelines": "plugins/timelines", "xpack.transform": "platform/plugins/private/transform", - "xpack.triggersActionsUI": "plugins/triggers_actions_ui", + "xpack.triggersActionsUI": "platform/plugins/shared/triggers_actions_ui", "xpack.upgradeAssistant": "plugins/upgrade_assistant", "xpack.uptime": [ "plugins/observability_solution/uptime" diff --git a/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts index fb934db0ffb7d..cb28d0aefcbd0 100644 --- a/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts +++ b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts @@ -85,7 +85,7 @@ export function transformActionParams({ }: TransformActionParamsOptions): RuleActionParams { // when the list of variables we pass in here changes, // the UI will need to be updated as well; see: - // x-pack/plugins/triggers_actions_ui/public/application/lib/action_variables.ts + // x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_variables.ts const variables: ActionContextVariables = { alertId, @@ -158,7 +158,7 @@ export function transformSummaryActionParams({ }): RuleActionParams { // when the list of variables we pass in here changes, // the UI will need to be updated as well; see: - // x-pack/plugins/triggers_actions_ui/public/application/lib/action_variables.ts + // x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_variables.ts const variables: SummaryActionContextVariables = { alertId: rule.id, diff --git a/x-pack/platform/plugins/shared/stack_connectors/README.md b/x-pack/platform/plugins/shared/stack_connectors/README.md index f203e893e101a..9c6d383a84c05 100644 --- a/x-pack/platform/plugins/shared/stack_connectors/README.md +++ b/x-pack/platform/plugins/shared/stack_connectors/README.md @@ -426,4 +426,4 @@ Instead of `schema.maybe()`, use `schema.nullable()`, which is the same as `sche ## User interface -To make this connector usable in the Kibana UI, you will need to provide all the UI editing aspects of the connector. The existing connector type user interfaces are defined in [`x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types`](../triggers_actions_ui/public/application/components/builtin_action_types). For more information, see the [UI documentation](../triggers_actions_ui/README.md#create-and-register-new-action-type-ui). +To make this connector usable in the Kibana UI, you will need to provide all the UI editing aspects of the connector. The existing connector type user interfaces are defined in [`x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types`](../triggers_actions_ui/public/application/components/builtin_action_types). For more information, see the [UI documentation](../triggers_actions_ui/README.md#create-and-register-new-action-type-ui). diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts index 4cfe1ad56cfa7..d4e3ab5eb8bc0 100644 --- a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts @@ -68,7 +68,7 @@ export const createExternalService: ServiceFactory = ({ const choicesUrl = `${urlWithoutTrailingSlash}/api/now/table/sys_choice`; /** * Need to be set the same at: - * x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/api.ts + * x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/api.ts */ const getVersionUrl = () => `${urlWithoutTrailingSlash}/api/${appScope}/elastic_api/health`; diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/action_type_registry.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/action_type_registry.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/action_type_registry.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/action_type_registry.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/application.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/application.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/capabilities.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/capabilities.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/capabilities.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/capabilities.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/http.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/http.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/http.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/http.ts diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/rule_type_registry.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/rule_type_registry.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/rule_type_registry.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/rule_type_registry.ts diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/decorator.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/decorator.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/main.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/main.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/main.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/main.ts diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/manager.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/manager.ts similarity index 92% rename from x-pack/plugins/triggers_actions_ui/.storybook/manager.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/manager.ts index 17fb8fc042000..b650b8d2d22ab 100644 --- a/x-pack/plugins/triggers_actions_ui/.storybook/manager.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/manager.ts @@ -13,7 +13,7 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Triggers Actions UI Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui', + brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui', }), showPanel: true, selectedPanel: PANEL_ID, diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/preview.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/preview.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/preview.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/preview.tsx diff --git a/x-pack/plugins/triggers_actions_ui/README.md b/x-pack/platform/plugins/shared/triggers_actions_ui/README.md similarity index 96% rename from x-pack/plugins/triggers_actions_ui/README.md rename to x-pack/platform/plugins/shared/triggers_actions_ui/README.md index 67c96fccea344..53eead1676c52 100644 --- a/x-pack/plugins/triggers_actions_ui/README.md +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/README.md @@ -52,8 +52,8 @@ Kibana ships with several built-in alert types: Every alert type must be registered server side, and can optionally be registered client side. Only alert types registered on both client and server will be displayed in the Create Alert flyout, as a part of the UI. -Built-in alert types UI are located under the folder `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types` -and this is a file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` for client side registration. +Built-in alert types UI are located under the folder `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types` +and this is a file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` for client side registration. ### Index Threshold Alert @@ -125,7 +125,7 @@ const setRuleProperty = (key: string, value: any) => { ``` -'x-pack/plugins/triggers_actions_ui/public/application/sections/alert_add/alert_reducer.ts' define the methods for changing different type of alert properties: +'x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_add/alert_reducer.ts' define the methods for changing different type of alert properties: ``` export const alertReducer = (state: any, action: AlertReducerAction) => { @@ -283,7 +283,7 @@ Design of user interface and server API for multiple action groups is under disc There are two ways of registering a new alert type: 1. Directly in the `triggers_actions_ui` plugin. In this case, the alert type will be available in the Create Alert flyout of the Alerts and Actions management section. - Registration code for a new alert type model should be added to the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` + Registration code for a new alert type model should be added to the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` Only registered alert types are available in UI. 2. Register the alert type in another plugin. In this case, the alert type will be available only in the current plugin UI. @@ -305,11 +305,11 @@ Alert type UI is expected to be defined as `RuleTypeModel` object. Below is a list of steps that should be done to build and register a new alert type with the name `Example Alert Type`: -1. At any suitable place in Kibana, create a file, which will expose an object implementing interface [RuleTypeModel](https://github.com/elastic/kibana/blob/55b7905fb5265b73806006e7265739545d7521d0/x-pack/legacy/plugins/triggers_actions_ui/np_ready/public/types.ts#L83). Example: +1. At any suitable place in Kibana, create a file, which will expose an object implementing interface [RuleTypeModel](https://github.com/elastic/kibana/blob/55b7905fb5265b73806006e7265739545d7521d0/x-pack/legacy/platform/plugins/shared/triggers_actions_ui/np_ready/public/types.ts#L83). Example: ``` import { lazy } from 'react'; -import { RuleTypeModel } from '../../../../types'; +import { RuleTypeModel } from '../../../../../../types'; import { validateExampleAlertType } from './validation'; export function getAlertType(): RuleTypeModel { @@ -332,8 +332,8 @@ Fields of this object `RuleTypeModel` will be mapped properly in the UI below. ``` import React, { useState } from 'react'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; -import { WhenExpression, OfExpression } from '../../../../common/expression_items'; -import { builtInAggregationTypes } from '../../../../common/constants'; +import { WhenExpression, OfExpression } from '../../../../../../common/expression_items'; +import { builtInAggregationTypes } from '../../../../../../common/constants'; interface ExampleProps { testAggType?: string; @@ -390,7 +390,7 @@ Expression components, which can be embedded to different alert types, are descr ``` import { i18n } from '@kbn/i18n'; -import { ValidationResult } from '../../../../types'; +import { ValidationResult } from '../../../../../../types'; export function validateExampleAlertType({ testAggField, @@ -413,7 +413,7 @@ export function validateExampleAlertType({ } ``` -4. Extend registration code with the new alert type register in the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` +4. Extend registration code with the new alert type register in the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` ``` import { getAlertType as getExampledAlertType } from './example'; @@ -459,7 +459,7 @@ interface WhenExpressionProps { | Property | Description | | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | aggType | Selected aggregation type that will be set as the alert type property. | -| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | +| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | | onChangeSelectedAggType | event handler that will be executed when selected aggregation type is changed. | | popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | @@ -505,7 +505,7 @@ interface OfExpressionProps { | errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `aggField`. | | onChangeSelectedAggField | Event handler that will be excuted if selected aggregation field is changed. | | fields | Fields list that will be available in the OF `Select a field` dropdown. | -| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | +| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | | popupPosition | (Optional) expression popup position. Default is `downRight`. Recommend changing it for a small parent window space. | ### GROUPED BY expression component @@ -559,7 +559,7 @@ interface GroupByExpressionProps { | onChangeSelectedTermField | Event handler that will be executed if selected term field is changed. | | onChangeSelectedGroupBy | Event handler that will be executed if selected group by is changed. | | fields | Fields list with options for the `termField` dropdown. | -| customGroupByTypes | (Optional) List of group by types that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts`. | +| customGroupByTypes | (Optional) List of group by types that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts`. | | popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | ### FOR THE LAST expression component @@ -645,7 +645,7 @@ interface ThresholdExpressionProps { | errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `threshold0` and `threshold1`. | | onChangeSelectedThresholdComparator | Event handler that will be excuted if selected threshold comparator is changed. | | onChangeSelectedThreshold | Event handler that will be excuted if selected threshold is changed. | -| customComparators | (Optional) List of comparators that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/comparators.ts`. | +| customComparators | (Optional) List of comparators that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/comparators.ts`. | | popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | ## Alert Conditions Components @@ -886,8 +886,8 @@ Kibana ships with a set of built-in action types UI: Every action type should be registered server side, and can be optionally registered client side. Only action types registered on both client and server will be displayed in the Alerts and Actions UI. -Built-in action types UI is located under the folder `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types` -and this is a file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` for client side registration. +Built-in action types UI is located under the folder `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types` +and this is a file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` for client side registration. ### Server log @@ -1192,7 +1192,7 @@ Each action type should be defined as an `ActionTypeModel` object with the follo There are two ways to register a new action type UI: 1. Directly in `triggers_actions_ui` plugin. In this case, the action type will be available in the Alerts and Actions management section. - Registration code for a new action type model should be added to the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` + Registration code for a new action type model should be added to the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` Only registered action types are available in UI. 2. Register action type in another plugin. In this case, the action type will be available only in the current plugin UI. @@ -1226,7 +1226,7 @@ import { ValidationResult, ActionConnectorFieldsProps, ActionParamsProps, -} from '../../../types'; +} from '../../../../../types'; interface ExampleActionParams { message: string; @@ -1280,7 +1280,7 @@ import { i18n } from '@kbn/i18n'; import { FieldConfig, UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; import { TextField } from '@kbn/es-ui-shared-plugin/static/forms/components'; -import { ActionConnectorFieldsProps } from '../../../types'; +import { ActionConnectorFieldsProps } from '../../../../../types'; const { emptyField } = fieldValidators; @@ -1329,7 +1329,7 @@ import { ValidationResult, ActionConnectorFieldsProps, ActionParamsProps, -} from '../../../types'; +} from '../../../../../types'; interface ExampleActionParams { message: string; @@ -1366,7 +1366,7 @@ const ExampleParamsFields: React.FunctionComponent { const { http, triggersActionsUi, notifications } = useKibana().services; @@ -1531,7 +1531,7 @@ Follow the instructions bellow to embed the Create Connector flyout within any K import { TriggersAndActionsUIPublicPluginSetup, TriggersAndActionsUIPublicPluginStart, - } from '../../../../../x-pack/plugins/triggers_actions_ui/public'; + } from '../../../../../../../x-pack/platform/plugins/shared/triggers_actions_ui/public'; triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; ... @@ -1545,7 +1545,7 @@ Then this dependency will be used to embed Create Connector flyout or register n ``` // import section -import { ActionsConnectorsContextProvider, CreateConnectorFlyout } from '../../../../../../../triggers_actions_ui/public'; +import { ActionsConnectorsContextProvider, CreateConnectorFlyout } from '../../../../../../../../../triggers_actions_ui/public'; // in the component state definition section const [addFlyoutVisible, setAddFlyoutVisibility] = useState(false); @@ -1615,7 +1615,7 @@ Follow the instructions bellow to embed the Edit Connector flyout within any Kib import { TriggersAndActionsUIPublicPluginSetup, TriggersAndActionsUIPublicPluginStart, - } from '../../../../../x-pack/plugins/triggers_actions_ui/public'; + } from '../../../../../../../x-pack/platform/plugins/shared/triggers_actions_ui/public'; triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; ... @@ -1629,7 +1629,7 @@ Then this dependency will be used to embed Edit Connector flyout. ``` // import section -import { ActionsConnectorsContextProvider, EditConnectorFlyout } from '../../../../../../../triggers_actions_ui/public'; +import { ActionsConnectorsContextProvider, EditConnectorFlyout } from '../../../../../../../../../triggers_actions_ui/public'; // in the component state definition section const [editFlyoutVisible, setEditFlyoutVisibility] = useState(false); diff --git a/x-pack/plugins/triggers_actions_ui/common/data/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/experimental_features.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/experimental_features.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/parse_interval.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/parse_interval.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/parse_interval.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/parse_interval.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/utils.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/utils.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/utils.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/utils.ts diff --git a/x-pack/plugins/triggers_actions_ui/jest.config.js b/x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js similarity index 62% rename from x-pack/plugins/triggers_actions_ui/jest.config.js rename to x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js index f6369b6b2b97e..25d1feff8ef75 100644 --- a/x-pack/plugins/triggers_actions_ui/jest.config.js +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/triggers_actions_ui'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/triggers_actions_ui', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/triggers_actions_ui'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/triggers_actions_ui', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/triggers_actions_ui/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/triggers_actions_ui/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/triggers_actions_ui/kibana.jsonc b/x-pack/platform/plugins/shared/triggers_actions_ui/kibana.jsonc similarity index 100% rename from x-pack/plugins/triggers_actions_ui/kibana.jsonc rename to x-pack/platform/plugins/shared/triggers_actions_ui/kibana.jsonc diff --git a/x-pack/plugins/triggers_actions_ui/public/application/action_type_registry.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/action_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/action_type_registry.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/action_type_registry.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/alerts_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alerts_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/alerts_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alerts_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/center_justified_spinner.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/center_justified_spinner.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/center_justified_spinner.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/center_justified_spinner.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/health_check.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/health_check.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/health_check.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/health_check.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/section_loading.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/section_loading.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/section_loading.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/section_loading.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/test_utils.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/test_utils.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/test_utils.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/test_utils.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/connectors_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/connectors_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/connectors_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/connectors_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/plugin.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/plugin.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/constants/plugin.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/plugin.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/time_units.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/time_units.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/constants/time_units.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/time_units.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/context/connector_context.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/connector_context.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/context/connector_context.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/connector_context.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/context/health_context.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/health_context.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/context/health_context.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/health_context.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/context/use_connector_context.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/use_connector_context.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/context/use_connector_context.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/use_connector_context.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/home.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/home.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/home.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/home.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_config_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_config_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_config_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_config_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/capabilities.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/capabilities.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/capabilities.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/capabilities.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_unit_label.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_unit_label.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_unit_label.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_unit_label.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/search_filters.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/search_filters.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/search_filters.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/search_filters.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/mock/rule_types_index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/rule_types_index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/mock/rule_types_index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/rule_types_index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/query_client.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/query_client.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/query_client.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/query_client.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/rule_type_registry.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rule_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/rule_type_registry.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rule_type_registry.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/connectors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/connectors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/connectors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/connectors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/test_utils.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/test_utils.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/test_utils.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/test_utils.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/type_registry.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/type_registry.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/type_registry.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/type_registry.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/connectors_selection.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/connectors_selection.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/action_frequency_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/action_frequency_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/action_frequency_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/action_frequency_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/experimental_features_service.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/experimental_features_service.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/experimental_features_service.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/experimental_features_service.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_action_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_action_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_action_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_action_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_add_connector_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_connector_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_add_connector_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_connector_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_add_rule_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_rule_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_add_rule_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_rule_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_state.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_state.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_state.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_state.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_field_browser.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_field_browser.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_field_browser.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_field_browser.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_definition.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_definition.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_definition.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_definition.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_panel.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_panel.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_panel.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_panel.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rules_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rules_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rules_settings_link.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_settings_link.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rules_settings_link.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_settings_link.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_unit_label.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_unit_label.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/truncated_text.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/truncated_text.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/truncated_text.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/truncated_text.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/mocks.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/mocks.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/mocks.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/mocks.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/plugin.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/plugin.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/config.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/config.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/config.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/config.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/README.md b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/README.md similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/README.md rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/README.md diff --git a/x-pack/plugins/triggers_actions_ui/server/data/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/fields.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/fields.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/indices.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/indices.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/time_series_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/time_series_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/plugin.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/plugin.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/plugin.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/plugin.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/config.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/config.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/config.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/config.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/health.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/health.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/health.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/health.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/tsconfig.json b/x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json similarity index 96% rename from x-pack/plugins/triggers_actions_ui/tsconfig.json rename to x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json index 7b947f560db85..f6b42f675bcd0 100644 --- a/x-pack/plugins/triggers_actions_ui/tsconfig.json +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -9,7 +9,7 @@ "public/**/*", "common/**/*", "config.ts", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/yarn.lock b/yarn.lock index 9a82368c79f78..b0933a91c27ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7708,7 +7708,7 @@ version "0.0.0" uid "" -"@kbn/triggers-actions-ui-plugin@link:x-pack/plugins/triggers_actions_ui": +"@kbn/triggers-actions-ui-plugin@link:x-pack/platform/plugins/shared/triggers_actions_ui": version "0.0.0" uid ""